[c-c] fix 3.4.9 name error :'( stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 11 Sep 2009 17:14:20 +0200
branchstable
changeset 3188 34395d1f00d6
parent 3183 e916f1e856c8
child 3189 08dac6d74b03
[c-c] fix 3.4.9 name error :'(
cwctl.py
--- a/cwctl.py	Fri Sep 11 14:27:52 2009 +0200
+++ b/cwctl.py	Fri Sep 11 17:14:20 2009 +0200
@@ -652,7 +652,7 @@
             print '-> migration needed from %s to %s for %s' % (fromversion, toversion, cube)
         # only stop once we're sure we have something to do
         if not (cwcfg.mode == 'dev' or self.config.nostartstop):
-            StopCommand().stop_instance(appid)
+            StopInstanceCommand().stop_instance(appid)
         # run cubicweb/componants migration scripts
         mih.migrate(vcconf, reversed(toupgrade), self.config)
         # rewrite main configuration file