capybara/virtualenv/lib/python2.7/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.py
def total_seconds(td):
    """Python 2.6 compatability"""
    if hasattr(td, 'total_seconds'):
        return td.total_seconds()

    ms = td.microseconds
    secs = (td.seconds + td.days * 24 * 3600)
    return (ms + secs * 10**6) / 10**6
def total_seconds(td):
    if hasattr(td, 'total_seconds'):
        return td.total_seconds()

    ms = td.microseconds
    secs = (td.seconds + td.days * 24 * 3600)
    return (ms + secs * 10**6) / 10**6
def total_seconds ( td ) : if hasattr ( td , 'total_seconds' ) : return td . total_seconds ( ) ms = td . microseconds secs = ( td . seconds + td . days * 24 * 3600 ) return ( ms + secs * 10 ** 6 ) / 10 ** 6
Python 2.6 compatability
Python 2 . 6 compatability