Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information