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] 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Always allow transaction abort., Xen patchbot -unstable <=