folder/UIDMaps.py Removed extra chars
These chars can be removed.
This commit is contained in:
parent
db1ee5b3e9
commit
28470ae655
@ -78,7 +78,7 @@ class MappedIMAPFolder(IMAPFolder):
|
|||||||
" again and some emails might become duplicated.")
|
" again and some emails might become duplicated.")
|
||||||
unlink(mapfilenametmp)
|
unlink(mapfilenametmp)
|
||||||
if not os.path.exists(mapfilename):
|
if not os.path.exists(mapfilename):
|
||||||
return ({}, {})
|
return {}, {}
|
||||||
file = open(mapfilename, 'rt')
|
file = open(mapfilename, 'rt')
|
||||||
r2l = {}
|
r2l = {}
|
||||||
l2r = {}
|
l2r = {}
|
||||||
@ -99,7 +99,7 @@ class MappedIMAPFolder(IMAPFolder):
|
|||||||
rem = int(str2)
|
rem = int(str2)
|
||||||
r2l[rem] = loc
|
r2l[rem] = loc
|
||||||
l2r[loc] = rem
|
l2r[loc] = rem
|
||||||
return (r2l, l2r)
|
return r2l, l2r
|
||||||
|
|
||||||
def _savemaps(self):
|
def _savemaps(self):
|
||||||
if self.dryrun is True:
|
if self.dryrun is True:
|
||||||
|
Loading…
Reference in New Issue
Block a user