From 503047880c0b9a151a8d4ae2baaed29f3fb2ec70 Mon Sep 17 00:00:00 2001 From: Greg Price Date: Mon, 21 Jul 2008 15:56:01 -0400 Subject: [PATCH] fix a different errortext-matching mismatch Gee, looks like I should have examined this when I made the remote server and changed all these error messages. svn path=/trunk/packages/sipb-xen-www/; revision=695 --- code/controls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/controls.py b/code/controls.py index 9c43a41..b4740d4 100644 --- a/code/controls.py +++ b/code/controls.py @@ -97,7 +97,7 @@ def bootMachine(machine, cdtype): else: out, err = remctl('control', machine.name, 'create', err=True) - if 'already exists' in out: + if 'already running' in err: raise InvalidInput('action', 'create', 'VM %s is already on' % machine.name) elif err: -- 1.7.9.5