diff options
author | Kali Kaneko <kali@leap.se> | 2014-02-06 19:44:25 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2014-02-17 11:37:04 -0400 |
commit | a5c45803dfdc62f22db592d1e542fcbd07170a43 (patch) | |
tree | 13733a9e858bae54d7d3fc4cba84ec9e60101e03 /src/leap/mail | |
parent | fec92585f933b6ce9b8c2701a9e28a8b7490d32a (diff) |
make last_uid a defaultdict
Diffstat (limited to 'src/leap/mail')
-rw-r--r-- | src/leap/mail/imap/memorystore.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/mail/imap/memorystore.py b/src/leap/mail/imap/memorystore.py index 04e0af6..3f3cf83 100644 --- a/src/leap/mail/imap/memorystore.py +++ b/src/leap/mail/imap/memorystore.py @@ -163,7 +163,7 @@ class MemoryStore(object): {'mbox-a': 42, 'mbox-b': 23} """ - self._last_uid = {} + self._last_uid = defaultdict(lambda: 0) """ known-uids keeps a count of the uids that soledad knows for a given |