Revision e6345c35 lib/cli.py
b/lib/cli.py | ||
---|---|---|
572 | 572 |
if status == constants.OP_STATUS_SUCCESS: |
573 | 573 |
has_ok = True |
574 | 574 |
elif status == constants.OP_STATUS_ERROR: |
575 |
errors.MaybeRaise(msg) |
|
575 | 576 |
if has_ok: |
576 | 577 |
raise errors.OpExecError("partial failure (opcode %d): %s" % |
577 | 578 |
(idx, msg)) |
Also available in: Unified diff