diff options
author | Helmut Grohne <helmut@subdivi.de> | 2007-04-15 17:44:56 +0200 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2007-04-15 17:44:56 +0200 |
commit | 2705b415937bca42d2411e04bf9ad27825330090 (patch) | |
tree | 5c520a8f8cc8f5f2b886415aff585ba0322ca38e | |
parent | 293a9e81bad7fe6f53980e229eed677b4101b846 (diff) | |
download | wsgitools-2705b415937bca42d2411e04bf9ad27825330090.tar.gz |
fixed indenting with tabs
-rw-r--r-- | wsgitools/middlewares.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/wsgitools/middlewares.py b/wsgitools/middlewares.py index ea61aca..ffb2e38 100644 --- a/wsgitools/middlewares.py +++ b/wsgitools/middlewares.py @@ -278,10 +278,10 @@ class TracebackMiddleware: def __call__(self, environ, start_response): """wsgi interface""" try: - return self.app(environ, start_response) - except: - exc_info = sys.exc_info() - data = cgitb.html(exc_info) - start_response("200 OK", [("Content-type", "text/html"), - ("Content-length", str(len(data)))]) + return self.app(environ, start_response) + except: + exc_info = sys.exc_info() + data = cgitb.html(exc_info) + start_response("200 OK", [("Content-type", "text/html"), + ("Content-length", str(len(data)))]) return [data] |