[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.
--- 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):