From 473f2f2de0d0fe7ad9682f523e56e83955ebc4e5 Mon Sep 17 00:00:00 2001 From: Dave Shawley Date: Mon, 29 Jan 2018 07:18:58 -0500 Subject: [PATCH] Install flake8 for development. --- requires/development.txt | 1 + sprockets/http/runner.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/requires/development.txt b/requires/development.txt index a75c39e..d99093a 100644 --- a/requires/development.txt +++ b/requires/development.txt @@ -1,6 +1,7 @@ -rinstallation.txt -rtesting.txt coverage==4.4.2 +flake8==3.5.0 sphinx==1.5.6 sphinxcontrib-httpdomain==1.5.0 tox==1.9.2 diff --git a/sprockets/http/runner.py b/sprockets/http/runner.py index 3443186..ab48f21 100644 --- a/sprockets/http/runner.py +++ b/sprockets/http/runner.py @@ -131,7 +131,7 @@ class Runner(object): try: self.application.start(iol) - except: + except Exception: self.logger.exception('application terminated during start, ' 'exiting') sys.exit(70)