# HG changeset patch # User Nicolas Chauvat # Date 1248799459 -7200 # Node ID f7ca29d751836443c568fc670265f6148f430766 # Parent 531ea4e7013e9c199f0c52e00d7741616a5853c7 [cleanup] improve dialog message consistency diff -r 531ea4e7013e -r f7ca29d75183 cwctl.py --- a/cwctl.py Tue Jul 28 18:36:32 2009 +0200 +++ b/cwctl.py Tue Jul 28 18:44:19 2009 +0200 @@ -353,7 +353,7 @@ if ex.errno != errno.ENOENT: raise confignames = ', '.join([config.name for config in configs]) - print 'instance %s (%s) deleted' % (appid, confignames) + print '-> instance %s (%s) deleted.' % (appid, confignames) # instance commands ######################################################## @@ -407,7 +407,7 @@ print return False if not debug: - print 'instance %s started' % appid + print '-> instance %s started.' % appid return True @@ -656,8 +656,7 @@ print '-> no software migration needed for instance %s.' % appid return for cube, fromversion, toversion in toupgrade: - print '\n' + underline_title('%s migration %s -> %s' % - (cube, fromversion, toversion)) + 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): self.stop_instance(appid)