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:
6c24c84
)
update to match current error messages
author
Greg Price
<price@mit.edu>
Mon, 21 Jul 2008 19:45:54 +0000
(15:45 -0400)
committer
Greg Price
<price@mit.edu>
Mon, 21 Jul 2008 19:45:54 +0000
(15:45 -0400)
svn path=/trunk/packages/sipb-xen-www/; revision=692
code/controls.py
patch
|
blob
|
history
diff --git
a/code/controls.py
b/code/controls.py
index
b946666
..
cd2d926
100644
(file)
--- a/
code/controls.py
+++ b/
code/controls.py
@@
-242,7
+242,7
@@
def commandResult(username, state, fields):
out, err = remctl('control', machine.name, 'reboot',
err=True)
if err:
- if re.match("Error: Domain '.*' does not exist.", err):
+ if re.match("machine '.*' is not on", err):
raise InvalidInput("action", "reboot",
"Machine is not on")
else: