# HG changeset patch # User RĂ©mi Cardona # Date 1362737008 -3600 # Node ID bdc50659f648b33b6af96834cc512bc3dd094088 # Parent 0d9c8f5eb285bd445b4163b478e63234dee3e57f [cwconfig] Fix exception handling when building the cube dependency graph UnorderableGraph exceptions do not have a 'cycles' property. A simple cast to str does the job. diff -r 0d9c8f5eb285 -r bdc50659f648 cwconfig.py --- a/cwconfig.py Tue Mar 19 12:25:18 2013 +0100 +++ b/cwconfig.py Fri Mar 08 11:03:28 2013 +0100 @@ -581,8 +581,7 @@ try: return ordered_nodes(graph) except UnorderableGraph as ex: - raise ConfigurationError('cycles in cubes dependencies: %s' - % ex.cycles) + raise ConfigurationError(ex) @classmethod def cls_adjust_sys_path(cls):