datetime.timedelta.total_seconds() is new in Python 2.7. Can't use.