forked from mirror/django-mailbox
I'll get the 2to3 changes right someday
This commit is contained in:
parent
ec18a01880
commit
1efa1140a6
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ class ImapTransport(EmailTransport):
|
||||||
size = each_msg.split(' ')[4].rstrip(')')
|
size = each_msg.split(' ')[4].rstrip(')')
|
||||||
if int(size) <= int(self.MAX_MSG_SIZE):
|
if int(size) <= int(self.MAX_MSG_SIZE):
|
||||||
safe_message_ids.append(uid)
|
safe_message_ids.append(uid)
|
||||||
except ValueError, e:
|
except ValueError as e:
|
||||||
logger.warning("ValueError: %s working on %s" % (e, each_msg[0]))
|
logger.warning("ValueError: %s working on %s" % (e, each_msg[0]))
|
||||||
pass
|
pass
|
||||||
return safe_message_ids
|
return safe_message_ids
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue