folder/Maildir.py Removed unused variables

These variables are not used.
This commit is contained in:
Rodolfo García Peñas (kix) 2020-08-30 13:48:11 +02:00
parent 91df77f69f
commit 1bcd7d3d4d

View File

@ -193,7 +193,6 @@ class MaildirFolder(BaseFolder):
nouidcounter -= 1 nouidcounter -= 1
else: # It comes from our folder. else: # It comes from our folder.
uidmatch = re_uidmatch.search(filename) uidmatch = re_uidmatch.search(filename)
uid = None
if not uidmatch: if not uidmatch:
uid = nouidcounter uid = nouidcounter
nouidcounter -= 1 nouidcounter -= 1
@ -358,10 +357,6 @@ class MaildirFolder(BaseFolder):
self.savemessageflags(uid, flags) self.savemessageflags(uid, flags)
return uid return uid
# Otherwise, save the message in tmp/ and then call savemessageflags()
# to give it a permanent home.
tmpdir = os.path.join(self.getfullname(), 'tmp')
# Use the mail timestamp given by either Date or Delivery-date mail # Use the mail timestamp given by either Date or Delivery-date mail
# headers. # headers.
message_timestamp = None message_timestamp = None