

def __str__(self):
    minutes = old_div((self - int(self)), DEC2HOUR)
    return ('%d:%02d' % (int(self), minutes.to_integral()))

dataset/ETHPy150Open lsaffre/lino/lino/utils/quantities.py Duration.__str__/original