Changeset 692 for trunk


Ignore:
Timestamp:
Jul 21, 2008, 3:45:54 PM (16 years ago)
Author:
price
Message:

update to match current error messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-www/code/controls.py

    r666 r692  
    243243                              err=True)
    244244        if err:
    245             if re.match("Error: Domain '.*' does not exist.", err):
     245            if re.match("machine '.*' is not on", err):
    246246                raise InvalidInput("action", "reboot",
    247247                                   "Machine is not on")
Note: See TracChangeset for help on using the changeset viewer.