summaryrefslogtreecommitdiff
path: root/wsgitools
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2009-06-24 17:40:00 +0200
committerHelmut Grohne <helmut@subdivi.de>2009-06-24 17:40:00 +0200
commit2182bacb7e82b428bf5b5a994ca09dec45556c94 (patch)
tree684b2d69e5cda2043104a7d0f754e9802300296f /wsgitools
parentba315d33219d09f3f92aca070a863cb0a03b2192 (diff)
downloadwsgitools-2182bacb7e82b428bf5b5a994ca09dec45556c94.tar.gz
fixed RequestLogMiddleware to work at all
Diffstat (limited to 'wsgitools')
-rw-r--r--wsgitools/filters.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wsgitools/filters.py b/wsgitools/filters.py
index 580a1c7..84b0de7 100644
--- a/wsgitools/filters.py
+++ b/wsgitools/filters.py
@@ -275,7 +275,7 @@ class RequestLogWSGIFilter(BaseWSGIFilter):
line = '%s "%s"' % (line, self.useragent)
else:
line += " -"
- self.log.write("%s\n", line)
+ self.log.write("%s\n" % line)
__all__.append("TimerWSGIFilter")
class TimerWSGIFilter(BaseWSGIFilter):