diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index ad54a21..140b430 100644 --- a/CONTRIBUTORS.txt +++ b/CONTRIBUTORS.txt @@ -19,4 +19,5 @@ Contributors (by order of appearance) : - Marc Labbé - Bruno Miguel Custódio - Florent Xicluna -- Austin Morton \ No newline at end of file +- Austin Morton +- Michael McNeil Forbes diff --git a/flake8/main.py b/flake8/main.py index 03d04b4..a11e137 100644 --- a/flake8/main.py +++ b/flake8/main.py @@ -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)