# HG changeset patch # User Nicolas Chauvat # Date 1308432443 -7200 # Node ID 1af162bd78b8568cfa1d8a5ad0ee6d5955a59b38 # Parent d5725a89dac9f6663be87390e28d4c60a9d4ace4 [migration] bugfix: c-c list was not displaying the name of a cube requiring another cube without constraining the version. diff -r d5725a89dac9 -r 1af162bd78b8 migration.py --- a/migration.py Fri Jun 17 18:51:01 2011 +0200 +++ b/migration.py Sat Jun 18 23:27:23 2011 +0200 @@ -492,6 +492,8 @@ self.warnings.append( 'cube %s depends on %s but constraint badly ' 'formatted: %s' % (cube, name, constraint)) + else: + self.reverse_dependencies[name].add( (None, None, cube) ) # check consistency for cube, versions in sorted(self.reverse_dependencies.items()): oper, version, source = None, None, None @@ -517,5 +519,7 @@ if oper in ('>=','='): if lower_strict: self.errors.append( ('update', cube, version, source) ) + elif oper is None: + pass # no constraint on version else: print 'unknown operator', oper