Fixed an issue where was invoked before it was defined in the case of a venv

This commit is contained in:
Lorin Hochstein 2011-07-21 10:30:55 -04:00
parent c2e3df28c2
commit 3d8d2595fa

View File

@ -52,8 +52,8 @@ for arg in "$@"; do
process_option $arg
done
# If enabled, tell nose to collect coverage data
if [ $coverage -eq 1 ]; then
${wrapper} coverage erase
noseopts="$noseopts --with-coverage --cover-package=nova"
fi
@ -116,6 +116,11 @@ then
fi
fi
# Delete old coverage data from previous runs
if [ $coverage -eq 1 ]; then
${wrapper} coverage erase
fi
if [ $just_pep8 -eq 1 ]; then
run_pep8
exit