diff options
author | R. David Murray <rdmurray@bitdance.com> | 2009-04-02 14:05:35 +0000 |
---|---|---|
committer | R. David Murray <rdmurray@bitdance.com> | 2009-04-02 14:05:35 +0000 |
commit | 52720c5455c3cfe200988aead6252e60ed507738 (patch) | |
tree | eca44596ee5c5832ffa886ee6794063a78a2f51c /Lib/mailbox.py | |
parent | e2942d073d4b8a1f9b5f48c73855f409e6b900b2 (diff) | |
download | cpython-git-52720c5455c3cfe200988aead6252e60ed507738.tar.gz |
Add missing iteritems() call to the for loop in mailbox.MH.get_message().
Fixes issue2625.
Diffstat (limited to 'Lib/mailbox.py')
-rwxr-xr-x | Lib/mailbox.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/mailbox.py b/Lib/mailbox.py index 7651e53b7f..7e0689c488 100755 --- a/Lib/mailbox.py +++ b/Lib/mailbox.py @@ -911,7 +911,7 @@ class MH(Mailbox): _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 |