web/info: recognize new error message for off VMs
authorGreg Price <price@mit.edu>
Sun, 22 Jun 2008 00:58:51 +0000 (20:58 -0400)
committerGreg 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

index 622dd50..bb6c590 100644 (file)
@@ -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,))
     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" % 
         return None
     elif err_string:
         raise CodeError("ERROR in remctl list-long %s:  %s" %