Add cubes as a prefix for import of cubes.
authorSandrine Ribeau <sandrine.ribeau@logilab.fr>
Thu, 06 Nov 2008 15:52:25 -0800
changeset 9 1901fcf55ed4
parent 8 8cdf3ed28e64
child 10 36d1e8d715af
Add cubes as a prefix for import of cubes.
goa/goavreg.py
--- a/goa/goavreg.py	Thu Nov 06 16:28:25 2008 +0100
+++ b/goa/goavreg.py	Thu Nov 06 15:52:25 2008 -0800
@@ -16,7 +16,7 @@
 def _pkg_name(cube, module):
     if cube is None:
         return module
-    return '%s.%s' % (cube, module)
+    return 'cubes.%s.%s' % (cube, module)
 
 class GAERegistry(CubicWebRegistry):