backport stable branch
authorNicolas Chauvat <nicolas.chauvat@logilab.fr>
Wed, 12 Aug 2009 14:05:36 +0200
changeset 2785 34dfdbefcfd1
parent 2783 493f527aed1e (current diff)
parent 2782 998f24dabd0d (diff)
child 2786 971d7c545505
backport stable branch
--- a/schema.py	Tue Aug 11 18:41:39 2009 +0200
+++ b/schema.py	Wed Aug 12 14:05:36 2009 +0200
@@ -874,6 +874,10 @@
         from <directory>
         """
         self.info('loading %s schemas', ', '.join(config.cubes()))
+        self.extrapath = {}
+        for cubesdir in config.cubes_search_path():
+            if cubesdir != config.CUBES_DIR:
+                self.extrapath[cubesdir] = 'cubes'
         if config.apphome:
             path = tuple(reversed([config.apphome] + config.cubes_path()))
         else: