Fixes bug #706636: Make sure pep8 failures will return failure for run_tests.sh
This commit is contained in:
commit
9c7b06d35d
@ -41,7 +41,7 @@ from glance.client import Client
|
||||
|
||||
|
||||
def die(msg):
|
||||
print >>sys.stderr, msg
|
||||
print >> sys.stderr, msg
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
|
@ -71,6 +71,4 @@ then
|
||||
fi
|
||||
fi
|
||||
|
||||
run_tests
|
||||
|
||||
pep8 --repeat --show-pep8 --show-source bin/* glance setup.py run_tests.py
|
||||
run_tests && pep8 --repeat --show-pep8 --show-source bin/* glance setup.py run_tests.py || exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user