# HG changeset patch # User Sylvain Thenault # Date 1231430021 -3600 # Node ID a8a975a883688ee1e6e6699726e38034089d48b3 # Parent 4e849b424aaa8873fc79ae9f97727e61075961a9 check apphome is not None diff -r 4e849b424aaa -r a8a975a88368 schema.py --- a/schema.py Thu Jan 08 14:36:07 2009 +0100 +++ b/schema.py Thu Jan 08 16:53:41 2009 +0100 @@ -868,7 +868,10 @@ from """ self.info('loading %s schemas', ', '.join(config.cubes())) - path = reversed([config.apphome] + config.cubes_path()) + if config.apphome: + path = reversed([config.apphome] + config.cubes_path()) + else: + path = reversed(config.cubes_path()) return super(CubicWebSchemaLoader, self).load(config, path=path) def _load_definition_files(self, cubes):