ia64/xen-unstable

changeset 6845:d5497a215660

Always allow transaction abort.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk
date Wed Sep 14 19:17:22 2005 +0000 (2005-09-14)
parents eb6fbb3d0a7b
children f92bdd9153f5
files tools/python/xen/xend/xenstore/xstransact.py
line diff
     1.1 --- a/tools/python/xen/xend/xenstore/xstransact.py	Wed Sep 14 18:24:25 2005 +0000
     1.2 +++ b/tools/python/xen/xend/xenstore/xstransact.py	Wed Sep 14 19:17:22 2005 +0000
     1.3 @@ -36,8 +36,6 @@ class xstransact:
     1.4          return xshandle().transaction_end(False)
     1.5  
     1.6      def abort(self):
     1.7 -        if not self.in_transaction:
     1.8 -            raise RuntimeError
     1.9          self.in_transaction = False
    1.10          return xshandle().transaction_end(True)
    1.11