cwconfig.py
changeset 8733 bdc50659f648
parent 8695 358d8bed9626
child 8850 4032499c701e
equal deleted inserted replaced
8732:0d9c8f5eb285 8733:bdc50659f648
   579             graph[cube] |= set(dep for dep in cls.cube_recommends(cube)
   579             graph[cube] |= set(dep for dep in cls.cube_recommends(cube)
   580                                if dep in cubes)
   580                                if dep in cubes)
   581         try:
   581         try:
   582             return ordered_nodes(graph)
   582             return ordered_nodes(graph)
   583         except UnorderableGraph as ex:
   583         except UnorderableGraph as ex:
   584             raise ConfigurationError('cycles in cubes dependencies: %s'
   584             raise ConfigurationError(ex)
   585                                      % ex.cycles)
       
   586 
   585 
   587     @classmethod
   586     @classmethod
   588     def cls_adjust_sys_path(cls):
   587     def cls_adjust_sys_path(cls):
   589         """update python path if necessary"""
   588         """update python path if necessary"""
   590         cubes_parent_dir = normpath(join(cls.CUBES_DIR, '..'))
   589         cubes_parent_dir = normpath(join(cls.CUBES_DIR, '..'))