equal
deleted
inserted
replaced
872 def load(self, config, **kwargs): |
872 def load(self, config, **kwargs): |
873 """return a Schema instance from the schema definition read |
873 """return a Schema instance from the schema definition read |
874 from <directory> |
874 from <directory> |
875 """ |
875 """ |
876 self.info('loading %s schemas', ', '.join(config.cubes())) |
876 self.info('loading %s schemas', ', '.join(config.cubes())) |
|
877 self.extrapath = {} |
|
878 for cubesdir in config.cubes_search_path(): |
|
879 if cubesdir != config.CUBES_DIR: |
|
880 self.extrapath[cubesdir] = 'cubes' |
877 if config.apphome: |
881 if config.apphome: |
878 path = tuple(reversed([config.apphome] + config.cubes_path())) |
882 path = tuple(reversed([config.apphome] + config.cubes_path())) |
879 else: |
883 else: |
880 path = tuple(reversed(config.cubes_path())) |
884 path = tuple(reversed(config.cubes_path())) |
881 try: |
885 try: |