Nir Soffer has posted comments on this change. Change subject: Introducing context manager to terminate async processes on internal fail ......................................................................
Patch Set 6: (2 comments) https://gerrit.ovirt.org/#/c/51407/6//COMMIT_MSG Commit Message: Line 14: Line 15: p = execCmd([cmd], sync=False) Line 16: with terminating(p): Line 17: if proc.wait(30) is None: Line 18: raise Timeout() Example code looks nicer when it is indented. Line 19: Line 20: Line 21: Change-Id: I003cce39d62dba5644937fafaf2c6e24c526c075 Line 16: with terminating(p): Line 17: if proc.wait(30) is None: Line 18: raise Timeout() Line 19: Line 20: Remove extra line between code example and footer. Line 21: Change-Id: I003cce39d62dba5644937fafaf2c6e24c526c075 -- To view, visit https://gerrit.ovirt.org/51407 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I003cce39d62dba5644937fafaf2c6e24c526c075 Gerrit-PatchSet: 6 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Yaniv Bronhaim <[email protected]> Gerrit-Reviewer: Dan Kenigsberg <[email protected]> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Nir Soffer <[email protected]> Gerrit-Reviewer: Yaniv Bronhaim <[email protected]> Gerrit-Reviewer: gerrit-hooks <[email protected]> Gerrit-HasComments: Yes _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
