total_seconds is not an attribute on timedelta in Python 2.6 (#73)