X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fbup%2Fhelpers.py;h=2b0b6ed2c6ddeee83c686b422961beb68d375826;hb=40aa3f4c36bc2a5730de5277050fa4616f3cefb4;hp=788efb07a9c4ffb30a414a4cbf6dd211104748ae;hpb=cd3647c81a25e9a512710040fb70d080656266e6;p=bup.git diff --git a/lib/bup/helpers.py b/lib/bup/helpers.py index 788efb0..2b0b6ed 100644 --- a/lib/bup/helpers.py +++ b/lib/bup/helpers.py @@ -1128,7 +1128,7 @@ if _localtime: # module, which doesn't appear willing to ignore the extra items. if _localtime: def localtime(time): - return bup_time(*_helpers.localtime(floor(time))) + return bup_time(*_helpers.localtime(int(floor(time)))) def utc_offset_str(t): """Return the local offset from UTC as "+hhmm" or "-hhmm" for time t. If the current UTC offset does not represent an integer number