cwconfig.py
branchstable
changeset 5086 bd13d9268b44
parent 5043 fe52dd3936cf
child 5121 a63d7886fcf5
child 5135 f15286235aef
equal deleted inserted replaced
5085:981e85b14b47 5086:bd13d9268b44
   328 
   328 
   329     @classmethod
   329     @classmethod
   330     def available_cubes(cls):
   330     def available_cubes(cls):
   331         cubes = set()
   331         cubes = set()
   332         for directory in cls.cubes_search_path():
   332         for directory in cls.cubes_search_path():
   333             if not os.path.exists(directory):
   333             if not exists(directory):
   334                 cls.error('unexistant directory in cubes search path: %s'
   334                 cls.error('unexistant directory in cubes search path: %s'
   335                            % directory)
   335                            % directory)
   336                 continue
   336                 continue
   337             for cube in os.listdir(directory):
   337             for cube in os.listdir(directory):
   338                 if isdir(join(directory, cube)) and not cube == 'shared':
   338                 if isdir(join(directory, cube)) and not cube == 'shared':