[vreg] register_objects lost its force_reload argument, fix dbapi.Connection.load_appobjects consequently stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 17 Jun 2010 09:10:14 +0200
branchstable
changeset 5763 1bdddb7460a9
parent 5761 02bccbc4ff1c
child 5764 ec5dbbb6a549
child 5767 1d811df051c2
[vreg] register_objects lost its force_reload argument, fix dbapi.Connection.load_appobjects consequently
dbapi.py
--- a/dbapi.py	Wed Jun 16 14:47:39 2010 +0200
+++ b/dbapi.py	Thu Jun 17 09:10:14 2010 +0200
@@ -535,8 +535,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()
@@ -558,7 +557,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