0001-misc-fix-humantime-for-units-with-identical-singular.patch
wcs/qommon/humantime.py | ||
---|---|---|
54 | 54 |
m = re.search(r"(\d+)\s*\b%s\b" % word, humanduration) |
55 | 55 |
if m: |
56 | 56 |
seconds = seconds + int(m.group(1)) * quantity |
57 |
break |
|
57 | 58 |
return seconds |
58 | 59 | |
59 | 60 |
def seconds2humanduration(seconds): |
60 |
- |