[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Minor tidy.



# HG changeset patch
# User emellor@ewan
# Node ID b56364e269c711e9f851963dfadfe225bfc15911
# Parent  50c2fe359c7389894e9fcaf1e198ed9a9fa13194
Minor tidy.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

diff -r 50c2fe359c73 -r b56364e269c7 tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py   Wed Sep 28 12:44:15 2005
+++ b/tools/python/xen/xend/XendDomainInfo.py   Wed Sep 28 13:02:38 2005
@@ -615,7 +615,7 @@
         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())
 
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.