summaryrefslogtreecommitdiffstats
path: root/Lib/mailbox.py
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2009-04-02 14:09:49 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2009-04-02 14:09:49 (GMT)
commit51c6b216cbead1e53f77eb501c85270546cde2d5 (patch)
tree697e2252a5742fbb7652ef2df0acfa5500a184bd /Lib/mailbox.py
parentdc362b0b96dc7899944cfc8aea09819d7358549a (diff)
downloadcpython-51c6b216cbead1e53f77eb501c85270546cde2d5.zip
cpython-51c6b216cbead1e53f77eb501c85270546cde2d5.tar.gz
cpython-51c6b216cbead1e53f77eb501c85270546cde2d5.tar.bz2
Merged revisions 71046 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r71046 | r.david.murray | 2009-04-02 10:05:35 -0400 (Thu, 02 Apr 2009) | 4 lines 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 7651e53..7e0689c 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