web/application.py
changeset 4490 d45cde54d464
parent 4301 59cb004db889
parent 4484 d87989d91635
child 4639 82afdc7d8cd8
--- a/web/application.py	Sat Feb 06 08:45:14 2010 +0100
+++ b/web/application.py	Mon Feb 08 11:08:55 2010 +0100
@@ -232,12 +232,11 @@
     def __init__(self, config, debug=None,
                  session_handler_fact=CookieSessionHandler,
                  vreg=None):
-        super(CubicWebPublisher, self).__init__()
-        # connect to the repository and get instance's schema
+        self.info('starting web instance from %s', config.apphome)
         if vreg is None:
             vreg = cwvreg.CubicWebVRegistry(config, debug=debug)
         self.vreg = vreg
-        self.info('starting web instance from %s', config.apphome)
+        # connect to the repository and get instance's schema
         self.repo = config.repository(vreg)
         if not vreg.initialized:
             self.config.init_cubes(self.repo.get_cubes())