ia64/xen-unstable
changeset 6809:574aeba9859d
Fix error handling code paths.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author | cl349@firebug.cl.cam.ac.uk |
---|---|
date | Tue Sep 13 16:55:21 2005 +0000 (2005-09-13) |
parents | 72e4e2aab342 |
children | d38da169752e |
files | tools/python/xen/xend/xenstore/xstransact.py |
line diff
1.1 --- a/tools/python/xen/xend/xenstore/xstransact.py Tue Sep 13 15:48:19 2005 +0000 1.2 +++ b/tools/python/xen/xend/xenstore/xstransact.py Tue Sep 13 16:55:21 2005 +0000 1.3 @@ -117,7 +117,8 @@ class xstransact: 1.4 except RuntimeError, ex: 1.5 if ex.args[0] == errno.ETIMEDOUT: 1.6 pass 1.7 - raise 1.8 + else: 1.9 + raise 1.10 1.11 Read = classmethod(Read) 1.12 1.13 @@ -131,7 +132,8 @@ class xstransact: 1.14 except RuntimeError, ex: 1.15 if ex.args[0] == errno.ETIMEDOUT: 1.16 pass 1.17 - raise 1.18 + else: 1.19 + raise 1.20 1.21 Write = classmethod(Write) 1.22 1.23 @@ -145,7 +147,8 @@ class xstransact: 1.24 except RuntimeError, ex: 1.25 if ex.args[0] == errno.ETIMEDOUT: 1.26 pass 1.27 - raise 1.28 + else: 1.29 + raise 1.30 1.31 Remove = classmethod(Remove) 1.32 1.33 @@ -159,6 +162,7 @@ class xstransact: 1.34 except RuntimeError, ex: 1.35 if ex.args[0] == errno.ETIMEDOUT: 1.36 pass 1.37 - raise 1.38 + else: 1.39 + raise 1.40 1.41 List = classmethod(List)