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

[Xen-changelog] Always allow transaction abort.



# HG changeset patch
# User cl349@xxxxxxxxxxxxxxxxxxxx
# Node ID d5497a2156608e05dc2deabd91c73604afe6c813
# Parent  eb6fbb3d0a7b1bde4546957314b12ed3557b1d71
Always allow transaction abort.
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>

diff -r eb6fbb3d0a7b -r d5497a215660 
tools/python/xen/xend/xenstore/xstransact.py
--- a/tools/python/xen/xend/xenstore/xstransact.py      Wed Sep 14 18:24:25 2005
+++ b/tools/python/xen/xend/xenstore/xstransact.py      Wed Sep 14 19:17:22 2005
@@ -36,8 +36,6 @@
         return xshandle().transaction_end(False)
 
     def abort(self):
-        if not self.in_transaction:
-            raise RuntimeError
         self.in_transaction = False
         return xshandle().transaction_end(True)
 

_______________________________________________
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®.