changeset 4521:64e3ae35a5eb

web.serving: Method should have 'self' as first argument
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sun, 01 Feb 2009 20:05:58 +0100
parents 7f17aad0ab89
children a5ecf8f3303e
files MoinMoin/web/serving.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/web/serving.py	Sat Jan 31 01:15:35 2009 +0100
+++ b/MoinMoin/web/serving.py	Sun Feb 01 20:05:58 2009 +0100
@@ -50,7 +50,7 @@
         self.app = app
         self.proxies = proxies
 
-    def __call__(environ, start_response):
+    def __call__(self, environ, start_response):
         if 'HTTP_X_FORWARDED_FOR' in environ:
             addrs = environ.pop('HTTP_X_FORWARDED_FOR').split(',')
             addrs = [x.strip() for addr in addrs]