svn path=/trunk/packages/sipb-xen-www/; revision=692
out, err = remctl('control', machine.name, 'reboot',
err=True)
if err:
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:
raise InvalidInput("action", "reboot",
"Machine is not on")
else: