0001-misc-make-sure-durations-are-integers-9870.patch
wcs/qommon/humantime.py | ||
---|---|---|
20 | 20 |
_hour = 60 * 60 |
21 | 21 |
_day = _hour * 24 |
22 | 22 |
_month = _day * 31 |
23 |
_year = _day * 365.25
|
|
23 |
_year = int(_day * 365.25)
|
|
24 | 24 | |
25 | 25 |
def list2human(stringlist): |
26 | 26 |
'''Transform a string list to human enumeration''' |
27 |
- |