projects
/
invirt/packages/invirt-web.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f1b11f
)
fix a different errortext-matching mismatch
author
Greg Price
<price@mit.edu>
Mon, 21 Jul 2008 19:56:01 +0000
(15:56 -0400)
committer
Greg Price
<price@mit.edu>
Mon, 21 Jul 2008 19:56:01 +0000
(15:56 -0400)
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
patch
|
blob
|
history
diff --git
a/code/controls.py
b/code/controls.py
index
9c43a41
..
b4740d4
100644
(file)
--- 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: