summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2007-04-15 17:44:56 +0200
committerHelmut Grohne <helmut@subdivi.de>2007-04-15 17:44:56 +0200
commit2705b415937bca42d2411e04bf9ad27825330090 (patch)
tree5c520a8f8cc8f5f2b886415aff585ba0322ca38e
parent293a9e81bad7fe6f53980e229eed677b4101b846 (diff)
downloadwsgitools-2705b415937bca42d2411e04bf9ad27825330090.tar.gz
fixed indenting with tabs
-rw-r--r--wsgitools/middlewares.py12
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]