# HG changeset patch # User Sylvain Thénault # Date 1273236138 -7200 # Node ID eab5540d96ebb8c222b9949d19d6e2c174c76317 # Parent 96fd339f7917ed01ecc9f1d7d5664e84f55bdc1d [c-c list] configuration pb cubes directly hold version number now, avoid crash when reporting errors diff -r 96fd339f7917 -r eab5540d96eb cwctl.py --- a/cwctl.py Thu May 06 16:23:39 2010 +0000 +++ b/cwctl.py Fri May 07 14:42:18 2010 +0200 @@ -285,7 +285,7 @@ print 'is not installed, but required by %s' % ' '.join(cfgpb.reverse_constraints[cube]) else: print '* cube %s version %s is installed, but version %s is required by (%s)' % ( - cube, cfgpb.cubes[cube].version, version, ', '.join(cfgpb.reverse_constraints[cube])) + cube, cfgpb.cubes[cube], version, ', '.join(cfgpb.reverse_constraints[cube])) class CreateInstanceCommand(Command): """Create an instance from a cube. This is an unified