# HG changeset patch # User Sylvain Thénault # Date 1284381140 -7200 # Node ID a5cc5dc15f9d8dbdc8ae7b4cd74da9f6618ab0c9 # Parent e23231d482fb821e50e30872900a3cbd3d10be4a [migration] remove buggy assertion diff -r e23231d482fb -r a5cc5dc15f9d migration.py --- a/migration.py Mon Sep 13 13:56:09 2010 +0200 +++ b/migration.py Mon Sep 13 14:32:20 2010 +0200 @@ -390,10 +390,8 @@ cubes = (cubes,) origcubes = self.config.cubes() newcubes = [p for p in self.config.expand_cubes(cubes) - if not p in origcubes] + if not p in origcubes] if newcubes: - for cube in cubes: - assert cube in newcubes self.config.add_cubes(newcubes) return newcubes