[vreg] register_objects lost its force_reload argument, fix dbapi.Connection.load_appobjects consequently
--- 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