migration.py
changeset 10074 ab956b780d4e
parent 9897 fa44db7da2dc
parent 10060 08dc10ef9ab1
child 10107 1ef92a6193a8
equal deleted inserted replaced
10068:1b0cb3c6c95e 10074:ab956b780d4e
   523             # "solve" constraint satisfaction problem
   523             # "solve" constraint satisfaction problem
   524             if cube not in self.cubes:
   524             if cube not in self.cubes:
   525                 self.errors.append( ('add', cube, version, source) )
   525                 self.errors.append( ('add', cube, version, source) )
   526             elif versions:
   526             elif versions:
   527                 lower_strict = version_strictly_lower(self.cubes[cube], version)
   527                 lower_strict = version_strictly_lower(self.cubes[cube], version)
   528                 if oper in ('>=','='):
   528                 if oper in ('>=','=','=='):
   529                     if lower_strict:
   529                     if lower_strict:
   530                         self.errors.append( ('update', cube, version, source) )
   530                         self.errors.append( ('update', cube, version, source) )
   531                 elif oper is None:
   531                 elif oper is None:
   532                     pass # no constraint on version
   532                     pass # no constraint on version
   533                 else:
   533                 else: