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):
|
def die(msg):
|
||||||
print >>sys.stderr, msg
|
print >> sys.stderr, msg
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
|
||||||
|
@ -71,6 +71,4 @@ then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
run_tests
|
run_tests && pep8 --repeat --show-pep8 --show-source bin/* glance setup.py run_tests.py || exit 1
|
||||||
|
|
||||||
pep8 --repeat --show-pep8 --show-source bin/* glance setup.py run_tests.py
|
|
||||||
|
Loading…
Reference in New Issue
Block a user