cubicweb/schema.py
changeset 11446 ca90cd9b112b
parent 11417 5e5e224239c3
child 11463 31e2de4d23a6
--- a/cubicweb/schema.py	Wed Jul 20 09:21:51 2016 +0200
+++ b/cubicweb/schema.py	Mon Jul 18 20:08:48 2016 +0200
@@ -1407,10 +1407,7 @@
         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'
+        self.extrapath = config.extrapath
         if config.apphome:
             path = tuple(reversed([config.apphome] + config.cubes_path()))
         else: