cwconfig.py
changeset 4325 16642cc7d497
parent 4324 e817a54cdbc1
child 4326 b930d140d321
equal deleted inserted replaced
4324:e817a54cdbc1 4325:16642cc7d497
   360     def extrapath(cls):
   360     def extrapath(cls):
   361         extrapath = {}
   361         extrapath = {}
   362         for cubesdir in cls.cubes_search_path():
   362         for cubesdir in cls.cubes_search_path():
   363             if cubesdir != cls.CUBES_DIR:
   363             if cubesdir != cls.CUBES_DIR:
   364                 extrapath[cubesdir] = 'cubes'
   364                 extrapath[cubesdir] = 'cubes'
       
   365         return extrapath
   365 
   366 
   366     @classmethod
   367     @classmethod
   367     def cube_dir(cls, cube):
   368     def cube_dir(cls, cube):
   368         """return the cube directory for the given cube id,
   369         """return the cube directory for the given cube id,
   369         raise ConfigurationError if it doesn't exists
   370         raise ConfigurationError if it doesn't exists