diff -r 3117f1736f00 -r 1ef92a6193a8 migration.py --- a/migration.py Thu May 15 23:18:17 2014 +0200 +++ b/migration.py Thu Oct 23 15:47:17 2014 +0200 @@ -31,6 +31,7 @@ from logilab.common.configuration import REQUIRED, read_old_config from logilab.common.shellutils import ASK from logilab.common.changelog import Version +from logilab.common.deprecation import deprecated from cubicweb import ConfigurationError, ExecutionError from cubicweb.cwconfig import CubicWebConfiguration as cwcfg @@ -407,7 +408,11 @@ self.config.add_cubes(newcubes) return newcubes + @deprecated('[3.20] use drop_cube() instead of remove_cube()') def cmd_remove_cube(self, cube, removedeps=False): + return self.cmd_drop_cube(cube, removedeps) + + def cmd_drop_cube(self, cube, removedeps=False): if removedeps: toremove = self.config.expand_cubes([cube]) else: