From 591f41d7cd68b2f52a756bc87f577a88df8a34ae Mon Sep 17 00:00:00 2001 From: Greg Price Date: Mon, 21 Jul 2008 15:45:54 -0400 Subject: [PATCH 1/1] update to match current error messages svn path=/trunk/packages/sipb-xen-www/; revision=692 --- code/controls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/controls.py b/code/controls.py index b946666..cd2d926 100644 --- 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: -- 1.7.9.5