equal
deleted
inserted
replaced
687 for cube in reversed(newcubes): |
687 for cube in reversed(newcubes): |
688 with self.cnx.allow_all_hooks_but(): |
688 with self.cnx.allow_all_hooks_but(): |
689 self.cmd_exec_event_script('postcreate', cube) |
689 self.cmd_exec_event_script('postcreate', cube) |
690 self.commit() |
690 self.commit() |
691 |
691 |
692 def cmd_remove_cube(self, cube, removedeps=False): |
692 def cmd_drop_cube(self, cube, removedeps=False): |
693 removedcubes = super(ServerMigrationHelper, self).cmd_remove_cube( |
693 removedcubes = super(ServerMigrationHelper, self).cmd_drop_cube( |
694 cube, removedeps) |
694 cube, removedeps) |
695 if not removedcubes: |
695 if not removedcubes: |
696 return |
696 return |
697 fsschema = self.fs_schema |
697 fsschema = self.fs_schema |
698 removedcubes_schema = self.config.load_schema(construction_mode='non-strict') |
698 removedcubes_schema = self.config.load_schema(construction_mode='non-strict') |