util:wsgi: fix WSGI_AppObject.default_callback -> .default_handler typo.
authorW. Trevor King <wking@tremily.us>
Mon, 3 Sep 2012 13:26:42 +0000 (09:26 -0400)
committerW. Trevor King <wking@tremily.us>
Mon, 3 Sep 2012 13:26:42 +0000 (09:26 -0400)
libbe/util/wsgi.py

index 98878309c8efe6a2ef5ac7babd60dfde9c5761f9..0a3ebf9df0edb6c5bc3ffd84ab955cd929237b20 100644 (file)
@@ -483,7 +483,7 @@ class WSGI_AppObject (WSGI_Object):
                  *args, **kwargs):
         super(WSGI_AppObject, self).__init__(*args, **kwargs)
         self.urls = [(re.compile(regexp),callback) for regexp,callback in urls]
-        self.default_callback = default_handler
+        self.default_handler = default_handler
         self.setting = setting
 
     def _call(self, environ, start_response):