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:
1124e4c
)
web/info: recognize new error message for off VMs
author
Greg Price
<price@mit.edu>
Sun, 22 Jun 2008 00:58:51 +0000
(20:58 -0400)
committer
Greg Price
<price@mit.edu>
Sun, 22 Jun 2008 00:58:51 +0000
(20:58 -0400)
svn path=/trunk/packages/sipb-xen-www/; revision=626
code/controls.py
patch
|
blob
|
history
diff --git
a/code/controls.py
b/code/controls.py
index
622dd50
..
bb6c590
100644
(file)
--- a/
code/controls.py
+++ b/
code/controls.py
@@
-176,7
+176,7
@@
def statusInfo(machine):
if 'Unknown command' in err_string:
raise CodeError("ERROR in remctl list-long %s is not registered" %
(machine.name,))
- elif 'does not exist' in err_string:
+ elif 'is not on' in err_string:
return None
elif err_string:
raise CodeError("ERROR in remctl list-long %s: %s" %