mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
Fix error handling code paths.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
This commit is contained in:
1 parent
235a106a4d
commit
ab283d0519
1 file changed
+8
-4
@@ -117,7 +117,8 @@ class xstransact:
|
||||
except RuntimeError, ex:
|
||||
if ex.args[0] == errno.ETIMEDOUT:
|
||||
pass
|
||||
raise
|
||||
else:
|
||||
raise
|
||||
|
||||
Read = classmethod(Read)
|
||||
|
||||
@@ -131,7 +132,8 @@ class xstransact:
|
||||
except RuntimeError, ex:
|
||||
if ex.args[0] == errno.ETIMEDOUT:
|
||||
pass
|
||||
raise
|
||||
else:
|
||||
raise
|
||||
|
||||
Write = classmethod(Write)
|
||||
|
||||
@@ -145,7 +147,8 @@ class xstransact:
|
||||
except RuntimeError, ex:
|
||||
if ex.args[0] == errno.ETIMEDOUT:
|
||||
pass
|
||||
raise
|
||||
else:
|
||||
raise
|
||||
|
||||
Remove = classmethod(Remove)
|
||||
|
||||
@@ -159,6 +162,7 @@ class xstransact:
|
||||
except RuntimeError, ex:
|
||||
if ex.args[0] == errno.ETIMEDOUT:
|
||||
pass
|
||||
raise
|
||||
else:
|
||||
raise
|
||||
|
||||
List = classmethod(List)
|
||||