diff options
author | Helmut Grohne <helmut@subdivi.de> | 2008-03-29 02:26:32 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2008-03-29 02:26:32 +0100 |
commit | acc00d6595e238c7915ef31677ca64535d56ff13 (patch) | |
tree | c7f33cdc95f586b4f9585732ef65817eafac3d55 /wsgitools | |
parent | c7d175ab56f9fc7a020d39d7ec2f8f7f0c6ec216 (diff) | |
download | wsgitools-acc00d6595e238c7915ef31677ca64535d56ff13.tar.gz |
fix middleware start_reponse to accept only two parameters
Diffstat (limited to 'wsgitools')
-rw-r--r-- | wsgitools/middlewares.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wsgitools/middlewares.py b/wsgitools/middlewares.py index 12d360d..b725565 100644 --- a/wsgitools/middlewares.py +++ b/wsgitools/middlewares.py @@ -222,7 +222,7 @@ class CachingMiddleware: else: del self.cache[path] cache_object = [time.time(), "", [], []] - def modified_start_respesponse(status, headers, exc_info): + def modified_start_respesponse(status, headers, exc_info=None): assert isinstance(status, str) assert isinstance(headers, list) if exc_info is not None: |