wsgi/handler.py
changeset 9031 6ff29f2879da
parent 9030 c1d5e8ca15ea
child 9402 2c48c091b6a2
--- a/wsgi/handler.py	Fri Dec 07 17:23:04 2012 +0100
+++ b/wsgi/handler.py	Fri Nov 23 16:12:19 2012 +0100
@@ -23,7 +23,7 @@
 
 from itertools import chain, repeat, izip
 
-from cubicweb import AuthenticationError
+from cubicweb import cwreg, AuthenticationError
 from cubicweb.web import DirectResponse
 from cubicweb.web.application import CubicWebPublisher
 from cubicweb.wsgi.request import CubicWebWsgiRequest
@@ -103,8 +103,8 @@
     NOTE: no pyro
     """
 
-    def __init__(self, config):
-        self.appli = CubicWebPublisher(config)
+    def __init__(self, repo, config):
+        self.appli = CubicWebPublisher(repo, config)
         self.config = config
         self.base_url = self.config['base-url']
         self.https_url = self.config['https-url']