1
0
Fork 0

I'll get the 2to3 changes right someday

This commit is contained in:
Alex Lovell-Troy 2014-05-29 23:47:48 -06:00
parent ec18a01880
commit 1efa1140a6

View file

@ -57,7 +57,7 @@ class ImapTransport(EmailTransport):
size = each_msg.split(' ')[4].rstrip(')')
if int(size) <= int(self.MAX_MSG_SIZE):
safe_message_ids.append(uid)
except ValueError, e:
except ValueError as e:
logger.warning("ValueError: %s working on %s" % (e, each_msg[0]))
pass
return safe_message_ids