equal
deleted
inserted
replaced
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, '..')) |