Revision 1e57442a lib/errors.py
b/lib/errors.py | ||
---|---|---|
304 | 304 |
|
305 | 305 |
|
306 | 306 |
def MaybeRaise(result): |
307 |
"""Is this looks like an encoded Ganeti exception, raise it.
|
|
307 |
"""If this looks like an encoded Ganeti exception, raise it.
|
|
308 | 308 |
|
309 | 309 |
This function tries to parse the passed argument and if it looks |
310 | 310 |
like an encoding done by EncodeException, it will re-raise it. |
Also available in: Unified diff