From: Greg Price Date: Sun, 22 Jun 2008 00:58:51 +0000 (-0400) Subject: web/info: recognize new error message for off VMs X-Git-Tag: sipb-xen-www/3.6~34 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/commitdiff_plain/c6003dd7f5cab27e9782b94617ffde59f2db331a web/info: recognize new error message for off VMs svn path=/trunk/packages/sipb-xen-www/; revision=626 --- diff --git a/code/controls.py b/code/controls.py index 622dd50..bb6c590 100644 --- 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" %