ia64/xen-unstable

changeset 7092:b56364e269c7

Minor tidy.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@ewan
date Wed Sep 28 14:02:38 2005 +0100 (2005-09-28)
parents 50c2fe359c73
children ea373837d474
files tools/python/xen/xend/XendDomainInfo.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomainInfo.py	Wed Sep 28 13:44:15 2005 +0100
     1.2 +++ b/tools/python/xen/xend/XendDomainInfo.py	Wed Sep 28 14:02:38 2005 +0100
     1.3 @@ -615,7 +615,7 @@ class XendDomainInfo:
     1.4          if not reason in shutdown_reasons.values():
     1.5              raise XendError('invalid reason:' + reason)
     1.6          self.storeVm("control/shutdown", reason)
     1.7 -        if not reason in ['suspend']:
     1.8 +        if not reason == 'suspend':
     1.9              self.storeVm('xend/shutdown_start_time', time.time())
    1.10  
    1.11