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.
........
This commit is contained in:
R. David Murray 2009-04-02 19:44:43 +00:00
parent 0633d760d6
commit 548ac41079
3 changed files with 10 additions and 1 deletions

View file

@ -907,7 +907,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().items():
if key in key_list:
msg.add_sequence(name)
return msg