dbapi.py
branchstable
changeset 5500 55a40cc0ab9a
parent 5429 5ca1f8fe8a42
child 5507 3604c1c78295
equal deleted inserted replaced
5499:2a5cc708c2a0 5500:55a40cc0ab9a
   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':