From c6003dd7f5cab27e9782b94617ffde59f2db331a Mon Sep 17 00:00:00 2001 From: Greg Price Date: Sat, 21 Jun 2008 20:58:51 -0400 Subject: [PATCH] web/info: recognize new error message for off VMs svn path=/trunk/packages/sipb-xen-www/; revision=626 --- code/controls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" % -- 1.7.9.5