equal
deleted
inserted
replaced
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': |