[cw-ctl] command list should not break when cube depends on version None (closes #1787209) stable
authorNicolas Chauvat <nicolas.chauvat@logilab.fr>
Wed, 29 Jun 2011 14:05:14 +0200
branchstable
changeset 7576 1b7fa4df1f83
parent 7573 c8f8762c986d
child 7579 5a610b34d2d2
[cw-ctl] command list should not break when cube depends on version None (closes #1787209)
migration.py
--- a/migration.py	Wed Jun 29 16:02:24 2011 +0200
+++ b/migration.py	Wed Jun 29 14:05:14 2011 +0200
@@ -509,6 +509,8 @@
                         if version_strictly_lower(version, ver):
                             version = ver
                             source = src
+                    elif op == None:
+                        continue
                     else:
                         print 'unable to handle this case', oper, version, op, ver
             # "solve" constraint satisfaction problem