From: Greg Price Date: Mon, 21 Jul 2008 19:56:01 +0000 (-0400) Subject: fix a different errortext-matching mismatch X-Git-Tag: sipb-xen-www/3.6~8 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/commitdiff_plain/503047880c0b9a151a8d4ae2baaed29f3fb2ec70 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 --- 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: