diff -r 2a9181b82806 -r 3ed8afbbdf70 web/application.py --- a/web/application.py Thu Apr 29 11:09:03 2010 +0200 +++ b/web/application.py Thu Apr 29 14:21:57 2010 +0200 @@ -280,12 +280,12 @@ to publish HTTP request. """ - def __init__(self, config, debug=None, + def __init__(self, config, session_handler_fact=CookieSessionHandler, vreg=None): self.info('starting web instance from %s', config.apphome) if vreg is None: - vreg = cwvreg.CubicWebVRegistry(config, debug=debug) + vreg = cwvreg.CubicWebVRegistry(config) self.vreg = vreg # connect to the repository and get instance's schema self.repo = config.repository(vreg)