I am getting the following error when trying to iterate in a message in a Maildir directory. please help.
>>> from mailbox import Maildir, MaildirMessage >>> mbox = Maildir('path/to/mailbox', create = False, factory = MaildirMessage) >>> for msg in mbox: ... for m in msg: ... print m ... Traceback (most recent call last): File "<stdin>", line 2, in <module> File "email/message.py", line 286, in __getitem__ File "email/message.py", line 352, in get AttributeError: 'int' object has no attribute 'lower' >>> -- http://mail.python.org/mailman/listinfo/python-list