Dan Kenigsberg has submitted this change and it was merged. Change subject: utils: Add round() helper ......................................................................
utils: Add round() helper We have the same rounding code all over, which does not make the code more fun to work with. This patch adds utils.round() utility to eliminate this duplication. Change-Id: Ie46e48d147d1fc222a6e0404df7ab757226f694b Signed-off-by: Nir Soffer <[email protected]> Reviewed-on: https://gerrit.ovirt.org/38210 Reviewed-by: Francesco Romani <[email protected]> Reviewed-by: Dan Kenigsberg <[email protected]> --- M lib/vdsm/utils.py M tests/utilsTests.py 2 files changed, 23 insertions(+), 0 deletions(-) Approvals: Nir Soffer: Verified Dan Kenigsberg: Looks good to me, approved Francesco Romani: Looks good to me, but someone else must approve -- To view, visit https://gerrit.ovirt.org/38210 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ie46e48d147d1fc222a6e0404df7ab757226f694b Gerrit-PatchSet: 4 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Nir Soffer <[email protected]> Gerrit-Reviewer: Adam Litke <[email protected]> Gerrit-Reviewer: Dan Kenigsberg <[email protected]> Gerrit-Reviewer: Francesco Romani <[email protected]> Gerrit-Reviewer: Nir Soffer <[email protected]> Gerrit-Reviewer: Yaniv Bronhaim <[email protected]> Gerrit-Reviewer: [email protected] Gerrit-Reviewer: oVirt Jenkins CI Server _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
