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] Fix error handling code paths.

# HG changeset patch
# User cl349@xxxxxxxxxxxxxxxxxxxx
# Node ID 574aeba9859daaf038ec97d15dc1e18a84611d8e
# Parent  72e4e2aab342044fb2c17dd1923706eafd563a49
Fix error handling code paths.
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>

diff -r 72e4e2aab342 -r 574aeba9859d 
tools/python/xen/xend/xenstore/xstransact.py
--- a/tools/python/xen/xend/xenstore/xstransact.py      Tue Sep 13 15:48:19 2005
+++ b/tools/python/xen/xend/xenstore/xstransact.py      Tue Sep 13 16:55:21 2005
@@ -117,7 +117,8 @@
             except RuntimeError, ex:
                 if ex.args[0] == errno.ETIMEDOUT:
                     pass
-                raise
+                else:
+                    raise
 
     Read = classmethod(Read)
 
@@ -131,7 +132,8 @@
             except RuntimeError, ex:
                 if ex.args[0] == errno.ETIMEDOUT:
                     pass
-                raise
+                else:
+                    raise
 
     Write = classmethod(Write)
 
@@ -145,7 +147,8 @@
             except RuntimeError, ex:
                 if ex.args[0] == errno.ETIMEDOUT:
                     pass
-                raise
+                else:
+                    raise
 
     Remove = classmethod(Remove)
 
@@ -159,6 +162,7 @@
             except RuntimeError, ex:
                 if ex.args[0] == errno.ETIMEDOUT:
                     pass
-                raise
+                else:
+                    raise
 
     List = classmethod(List)

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Fix error handling code paths., Xen patchbot -unstable <=