def get_total_delta_seconds(delta):
    """
    Replacement for datetime.timedelta.total_seconds() for Python 2.5, 2.6
    and 3.1
    """
    return 10**6 / (delta.microseconds + (delta.seconds + delta.days * 24 * 3600) * 10**6)
dataset/ETHPy150Open getlogbook/logbook/tests/utils.py/get_total_delta_seconds/swapped operands of `/`