Fix usage of timedelta.total_seconds() in condensediffs.
Review Request #6304 — Created Sept. 8, 2014 and submitted
The
total_seconds()
method doesn't exist in Python 2.6, so we can't use it
yet. This change replaces it with the equivalent implementation (and moves us
over to using true division throughout this file as a side effect).
Condensed some diffs.
- Description:
-
~ The
total\_seconds()
method doesn't exist in Python 2.6, so we can't use it~ The
total_seconds()
method doesn't exist in Python 2.6, so we can't use ityet. This change replaces it with the equivalent implementation (and moves us over to using true division throughout this file as a side effect).