def to_human_time(seconds):
    minutes, seconds = div(seconds, 60)
    hours, minutes = div(minutes, 60)
    days, hours = div(hours, 24)
    if days:
        return '%3dd %02d:%02d.%02d' % (days, hours, minutes, seconds)
    else:
        return (hours, minutes, seconds) % '%02d:%02d.%02d'
dataset/ETHPy150Open yadutaf/ctop/cgroup_top.py/to_human_time/swapped operands of `%`