[web] cleanup use of config in web application initialisation stable
authorJulien Jehannet <julien.jehannet@logilab.fr>
Tue, 01 Jun 2010 17:03:28 +0200
branchstable
changeset 5650 86e874fe30ea
parent 5649 a07dee204187
child 5651 95f7285e85e2
[web] cleanup use of config in web application initialisation
web/application.py
--- a/web/application.py	Thu Jun 03 09:41:41 2010 +0200
+++ b/web/application.py	Tue Jun 01 17:03:28 2010 +0200
@@ -293,7 +293,7 @@
         # 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())
+            config.init_cubes(self.repo.get_cubes())
             vreg.init_properties(self.repo.properties())
             vreg.set_schema(self.repo.get_schema())
         # set the correct publish method