Todd Lipcon has submitted this change and it was merged. Change subject: python: fix py2.6 incompatibility in unixtime_micros support ......................................................................
python: fix py2.6 incompatibility in unixtime_micros support Python 2.6 doesn't have the timedelta.total_seconds() function that's used when converting time objects to unixtime_micros. This replaces the function with a simple calculation as recommended by the docs. Change-Id: Ib56e586e19e549b123b43b301d73742616bb7b0e Reviewed-on: http://gerrit.cloudera.org:8080/5409 Tested-by: Kudu Jenkins Reviewed-by: Jordan Birdsell <[email protected]> --- M python/kudu/util.py 1 file changed, 5 insertions(+), 2 deletions(-) Approvals: Jordan Birdsell: Looks good to me, approved Kudu Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/5409 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ib56e586e19e549b123b43b301d73742616bb7b0e Gerrit-PatchSet: 2 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Todd Lipcon <[email protected]> Gerrit-Reviewer: Jordan Birdsell <[email protected]> Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Todd Lipcon <[email protected]>
