* Use the compatible way to handle the exception. You can find the
source code wsgi_app in app.py, and it use the compatible way, so update it
* Fix typo in config.py
* Fix typo in app.py
This commit is contained in:
lord63 2016-02-03 20:49:02 +08:00
parent 22270d0f7d
commit 6d0bbd627c
3 changed files with 3 additions and 3 deletions

View file

@ -69,7 +69,7 @@ find a piece of code that looks very much like this::
with self.request_context(environ):
try:
response = self.full_dispatch_request()
except Exception, e:
except Exception as e:
response = self.make_response(self.handle_exception(e))
return response(environ, start_response)