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

[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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.