diff options
Diffstat (limited to 'sleekxmpp/thirdparty/mini_dateutil.py')
-rw-r--r-- | sleekxmpp/thirdparty/mini_dateutil.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sleekxmpp/thirdparty/mini_dateutil.py b/sleekxmpp/thirdparty/mini_dateutil.py index bfb86305..5b3af9a7 100644 --- a/sleekxmpp/thirdparty/mini_dateutil.py +++ b/sleekxmpp/thirdparty/mini_dateutil.py @@ -226,7 +226,7 @@ except: if m.group('frac'): frac = m.group('frac') power = len(frac) - frac = long(frac) / 10.0 ** power + frac = int(frac) / 10.0 ** power if m.group('hour'): h = vals['hour'] @@ -260,7 +260,7 @@ except: # add optional minutes if tzm != None: - tzm = long(tzm) + tzm = int(tzm) offsetmins += tzm if offsetmins > 0 else -tzm tz = _get_fixed_offset_tz(offsetmins) |