WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[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

<Prev in Thread] Current Thread [Next in Thread>