This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients Walter.Woods, orsenthil, r.david.murray
Date 2010-04-29.21:05:36
SpamBayes Score 0.027158732
Marked as misclassified No
Message-id <1272575139.45.0.254354691034.issue8572@psf.upfronthosting.co.za>
In-reply-to
Content
@senthil: I'm not quite sure what your sentence referencing couchdb is getting at, but the headers that are being queried are in an email.Message object, and contain only string values unless some code is misusing the API and setting new non-string values after the initial header parse is has been done.

Regardless, though, my suggested change makes the code work with the documented API (which strongly implies that default is a string) while continuing to accept any previously working values that existing code may be passing in.
History
Date User Action Args
2010-04-29 21:05:39r.david.murraysetrecipients: + r.david.murray, orsenthil, Walter.Woods
2010-04-29 21:05:39r.david.murraysetmessageid: <1272575139.45.0.254354691034.issue8572@psf.upfronthosting.co.za>
2010-04-29 21:05:37r.david.murraylinkissue8572 messages
2010-04-29 21:05:36r.david.murraycreate