Mercurial > cpython-lru_cache-weakref
diff Lib/mailbox.py @ 52747:d28ea2ee7070 3.0
Actually this was merged by hand because svnmerge messed up the properties
on the merge of revision 71067 presumably as a result of my immediately
previous fix for Brett's fix for his fix....
Merged revisions 71067 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r71067 | r.david.murray | 2009-04-02 15:44:43 -0400 (Thu, 02 Apr 2009) | 13 lines
In 3k this becomes an items() call.
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.
........
................
| author | R. David Murray <rdmurray@bitdance.com> |
|---|---|
| date | Thu, 02 Apr 2009 20:22:29 +0000 |
| parents | 7779af388aec |
| children | 358ab1ffaa80 |
line wrap: on
line diff
--- a/Lib/mailbox.py Thu Apr 02 18:44:10 2009 +0000 +++ b/Lib/mailbox.py Thu Apr 02 20:22:29 2009 +0000 @@ -907,7 +907,7 @@ _unlock_file(f) finally: f.close() - for name, key_list in self.get_sequences(): + for name, key_list in self.get_sequences().items(): if key in key_list: msg.add_sequence(name) return msg
