author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Mon, 13 Sep 2010 14:32:20 +0200 | |
branch | stable |
changeset 6221 | a5cc5dc15f9d |
parent 6220 | e23231d482fb |
child 6222 | 21772f4e41d9 |
migration.py | file | annotate | diff | comparison | revisions |
--- 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