# HG changeset patch # User Sylvain Thénault # Date 1288945183 -3600 # Node ID 12ee2fe13fa7eb68c7044fd2338e43c3f929c5e0 # Parent fd9c76196bf7ab08bd8a8175c98523224c95d79b [c-c list] tell more about the pb when some cube information is missing diff -r fd9c76196bf7 -r 12ee2fe13fa7 cwctl.py --- a/cwctl.py Fri Nov 05 09:18:48 2010 +0100 +++ b/cwctl.py Fri Nov 05 09:19:43 2010 +0100 @@ -235,9 +235,9 @@ tinfo = cwcfg.cube_pkginfo(cube) tversion = tinfo.version cfgpb.add_cube(cube, tversion) - except ConfigurationError: + except ConfigurationError, ex: tinfo = None - tversion = '[missing cube information]' + tversion = '[missing cube information: %s]' % ex print '* %s %s' % (cube.ljust(namesize), tversion) if self.config.verbose: if tinfo: