equal
deleted
inserted
replaced
9 |
9 |
10 from os import listdir |
10 from os import listdir |
11 from os.path import join, isdir |
11 from os.path import join, isdir |
12 |
12 |
13 from cubicweb import CW_SOFTWARE_ROOT |
13 from cubicweb import CW_SOFTWARE_ROOT |
14 from cubicweb.cwvreg import CubicWebRegistry |
14 from cubicweb.cwvreg import CubicWebVRegistry |
15 |
15 |
16 |
16 |
17 def _pkg_name(cube, module): |
17 def _pkg_name(cube, module): |
18 if cube is None: |
18 if cube is None: |
19 return module |
19 return module |
20 return 'cubes.%s.%s' % (cube, module) |
20 return 'cubes.%s.%s' % (cube, module) |
21 |
21 |
22 class GAERegistry(CubicWebRegistry): |
22 class GAEVRegistry(CubicWebVRegistry): |
23 |
23 |
24 def set_schema(self, schema): |
24 def set_schema(self, schema): |
25 """disable reload hooks of cubicweb registry set_schema method""" |
25 """disable reload hooks of cubicweb registry set_schema method""" |
26 self.schema = schema |
26 self.schema = schema |
27 |
27 |