aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoremellor@ewan <emellor@ewan>2005-09-28 14:02:38 +0100
committeremellor@ewan <emellor@ewan>2005-09-28 14:02:38 +0100
commitbcf976db0e9b0b84b49e3540cc809f9d3dab33a1 (patch)
treee7fa93de2b630f0ae1d390a57786eb3d707c243c
parent85506dfc978c586df08ec488e8587678a1e301aa (diff)
downloadxen-bcf976db0e9b0b84b49e3540cc809f9d3dab33a1.tar.gz
xen-bcf976db0e9b0b84b49e3540cc809f9d3dab33a1.tar.bz2
xen-bcf976db0e9b0b84b49e3540cc809f9d3dab33a1.zip
Minor tidy.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
-rw-r--r--tools/python/xen/xend/XendDomainInfo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py
index 21d365591c..45c0b2be44 100644
--- a/tools/python/xen/xend/XendDomainInfo.py
+++ b/tools/python/xen/xend/XendDomainInfo.py
@@ -615,7 +615,7 @@ class XendDomainInfo:
if not reason in shutdown_reasons.values():
raise XendError('invalid reason:' + reason)
self.storeVm("control/shutdown", reason)
- if not reason in ['suspend']:
+ if not reason == 'suspend':
self.storeVm('xend/shutdown_start_time', time.time())