]> granicus.if.org Git - python/commit
[Backport of r56382]
authorAndrew M. Kuchling <amk@amk.ca>
Sat, 14 Jul 2007 22:06:30 +0000 (22:06 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Sat, 14 Jul 2007 22:06:30 +0000 (22:06 +0000)
commit6ecd4a0535580bc12b062a39ab8288b18e87daad
tree7dbf107146563ac3ae60fae97e1830f7b44c794a
parent0336870720fb6630add0771e50e174273f7a8711
[Backport of r56382]
Avoid exception if there's a stray directory inside a Maildir folder.

The Maildir specification doesn't seem to say anything about this
situation, and it can happen if you're keeping a Maildir mailbox in
Subversion (.svn directories) or some similar system.  The patch just
ignores directories in the cur/, new/, tmp/ folders.
Lib/mailbox.py
Lib/test/test_mailbox.py
Misc/NEWS