dbapi.py
branchstable
changeset 5501 1af69779f597
parent 5500 55a40cc0ab9a
child 5507 3604c1c78295
equal deleted inserted replaced
5498:eab5540d96eb 5501:1af69779f597
   551         else:
   551         else:
   552             esubpath = subpath
   552             esubpath = subpath
   553         if 'views' in subpath:
   553         if 'views' in subpath:
   554             esubpath = list(subpath)
   554             esubpath = list(subpath)
   555             esubpath.remove('views')
   555             esubpath.remove('views')
   556             esubpath.append('web/views')
   556             esubpath.append(join('web', 'views'))
   557         cubes = reversed([config.cube_dir(p) for p in cubes])
   557         cubes = reversed([config.cube_dir(p) for p in cubes])
   558         vpath = config.build_vregistry_path(cubes, evobjpath=esubpath,
   558         vpath = config.build_vregistry_path(cubes, evobjpath=esubpath,
   559                                             tvobjpath=subpath)
   559                                             tvobjpath=subpath)
   560         self.vreg.register_objects(vpath, force_reload)
   560         self.vreg.register_objects(vpath, force_reload)
   561         if self._cnxtype == 'inmemory':
   561         if self._cnxtype == 'inmemory':