Fix issue #39.

This commit is contained in:
Michael McNeil Forbes 2015-03-08 21:13:54 -07:00
parent da2b0b8a43
commit 1fd8b66174
2 changed files with 4 additions and 2 deletions

View file

@ -19,4 +19,5 @@ Contributors (by order of appearance) :
- Marc Labbé
- Bruno Miguel Custódio
- Florent Xicluna
- Austin Morton
- Austin Morton
- Michael McNeil Forbes

View file

@ -134,4 +134,5 @@ class Flake8Command(setuptools.Command):
# Run the checkers
report = flake8_style.check_files()
exit_code = print_report(report, flake8_style)
raise SystemExit(exit_code > 0)
if exit_code > 0:
raise SystemExit(exit_code > 0)