summaryrefslogtreecommitdiff
path: root/Lib/mailbox.py
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2009-04-02 14:05:35 +0000
committerR. David Murray <rdmurray@bitdance.com>2009-04-02 14:05:35 +0000
commit52720c5455c3cfe200988aead6252e60ed507738 (patch)
treeeca44596ee5c5832ffa886ee6794063a78a2f51c /Lib/mailbox.py
parente2942d073d4b8a1f9b5f48c73855f409e6b900b2 (diff)
downloadcpython-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-xLib/mailbox.py2
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