cwctl.py
changeset 9372 e87a808a4c32
parent 9371 1348202527a6
child 9511 241b1232ed7f
child 9700 da7d341cca76
--- a/cwctl.py	Thu Dec 12 16:18:58 2013 +0100
+++ b/cwctl.py	Thu Dec 12 18:25:45 2013 +0100
@@ -752,6 +752,7 @@
         mih = config.migration_handler()
         repo = mih.repo_connect()
         vcconf = repo.get_versions()
+        helper = self.config_helper(config, required=False)
         if self.config.force_cube_version:
             for cube, version in self.config.force_cube_version.iteritems():
                 vcconf[cube] = Version(version)
@@ -790,6 +791,8 @@
         if not self.i18nupgrade(config):
             return
         print
+        if helper:
+            helper.postupgrade(repo)
         print '-> instance migrated.'
         if instance_running and not (CWDEV or self.config.nostartstop):
             # restart instance through fork to get a proper environment, avoid