# HG changeset patch # User Sylvain Thénault # Date 1276758614 -7200 # Node ID 1bdddb7460a9ff24443f074dd0016e94ff074f08 # Parent 02bccbc4ff1c7be0b848252acbfd72711a355cdf [vreg] register_objects lost its force_reload argument, fix dbapi.Connection.load_appobjects consequently diff -r 02bccbc4ff1c -r 1bdddb7460a9 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