backport stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 17 Jun 2010 09:10:34 +0200
changeset 5764 ec5dbbb6a549
parent 5762 730d458ec1bf (current diff)
parent 5763 1bdddb7460a9 (diff)
child 5765 14daeb31ee67
backport stable
dbapi.py
--- a/dbapi.py	Wed Jun 16 14:51:17 2010 +0200
+++ b/dbapi.py	Thu Jun 17 09:10:34 2010 +0200
@@ -532,8 +532,7 @@
             raise ProgrammingError('Closed connection')
         return self._repo.get_schema()
 
-    def load_appobjects(self, cubes=_MARKER, subpath=None, expand=True,
-                        force_reload=None):
+    def load_appobjects(self, cubes=_MARKER, subpath=None, expand=True):
         config = self.vreg.config
         if cubes is _MARKER:
             cubes = self._repo.get_cubes()
@@ -555,7 +554,7 @@
         cubes = reversed([config.cube_dir(p) for p in cubes])
         vpath = config.build_vregistry_path(cubes, evobjpath=esubpath,
                                             tvobjpath=subpath)
-        self.vreg.register_objects(vpath, force_reload)
+        self.vreg.register_objects(vpath)
         if self._cnxtype == 'inmemory':
             # should reinit hooks manager as well
             hm, config = self._repo.hm, self._repo.config