author | Denis Laxalde <denis.laxalde@logilab.fr> |
Mon, 18 Jul 2016 20:08:48 +0200 | |
changeset 11446 | ca90cd9b112b |
parent 11430 | 1ea5ba74a13c |
child 11447 | ced4de539d66 |
--- 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: