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

@ -20,3 +20,4 @@ Contributors (by order of appearance) :
- Bruno Miguel Custódio - Bruno Miguel Custódio
- Florent Xicluna - Florent Xicluna
- Austin Morton - Austin Morton
- Michael McNeil Forbes

View file

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