[etwist/service] adjust for a signature change
authorAurelien Campeas <aurelien.campeas@logilab.fr>
Thu, 29 Jan 2015 16:18:23 +0100
changeset 10181 215403b9798f
parent 10180 ea10572fccfe
child 10182 116b24efad0e
[etwist/service] adjust for a signature change Closes #4878570.
etwist/service.py
--- a/etwist/service.py	Wed Dec 10 10:49:07 2014 +0100
+++ b/etwist/service.py	Thu Jan 29 16:18:23 2015 +0100
@@ -80,7 +80,7 @@
             config.info('clear ui caches')
             for cachedir in ('uicache', 'uicachehttps'):
                 rm(join(config.appdatahome, cachedir, '*'))
-            root_resource = CubicWebRootResource(config)
+            root_resource = CubicWebRootResource(config, config.repository())
             website = server.Site(root_resource)
             # serve it via standard HTTP on port set in the configuration
             port = config['port'] or 8080