Replace calls to long with int calls

long was removed from Python3

Signed-off-by: Łukasz Żarnowiecki <dolohow@outlook.com>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Łukasz Żarnowiecki
2016-05-08 16:42:52 +02:00
committed by Nicolas Sebrecht
parent 3848bc55f3
commit 068ac7c410
7 changed files with 23 additions and 23 deletions

View File

@ -64,8 +64,8 @@ class MappedIMAPFolder(IMAPFolder):
raise Exception("Corrupt line '%s' in UID mapping file '%s'"%
(line, mapfilename)), None, exc_info()[2]
(str1, str2) = line.split(':')
loc = long(str1)
rem = long(str2)
loc = int(str1)
rem = int(str2)
r2l[rem] = loc
l2r[loc] = rem
return (r2l, l2r)