# HG changeset patch # User Denis Laxalde # Date 1468865328 -7200 # Node ID ca90cd9b112bd3c598f79a8a1c4b7ffe3f53cc09 # Parent 1ea5ba74a13c6eb1acbe82bc8edf942e308ae3d2 [schema] Set CubicWebSchemaLoader's extrapath using config eponymous property diff -r 1ea5ba74a13c -r ca90cd9b112b cubicweb/schema.py --- 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 """ 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: