commit | 52720c5455c3cfe200988aead6252e60ed507738 | [log] [tgz] |
---|---|---|
author | R. David Murray <rdmurray@bitdance.com> | Thu Apr 02 14:05:35 2009 +0000 |
committer | R. David Murray <rdmurray@bitdance.com> | Thu Apr 02 14:05:35 2009 +0000 |
tree | eca44596ee5c5832ffa886ee6794063a78a2f51c | |
parent | e2942d073d4b8a1f9b5f48c73855f409e6b900b2 [diff] [blame] |
Add missing iteritems() call to the for loop in mailbox.MH.get_message(). Fixes issue2625.
diff --git a/Lib/mailbox.py b/Lib/mailbox.py index 7651e53..7e0689c 100755 --- a/Lib/mailbox.py +++ b/Lib/mailbox.py
@@ -911,7 +911,7 @@ _unlock_file(f) finally: f.close() - for name, key_list in self.get_sequences(): + for name, key_list in self.get_sequences().iteritems(): if key in key_list: msg.add_sequence(name) return msg