[issue1273] email module example email-unpack.py error

2007-11-24 Thread Georg Brandl
Georg Brandl added the comment: Thanks, this is fixed in the development docs now (r58445). -- nosy: +georg.brandl resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> _

[issue1273] email module example email-unpack.py error

2007-10-12 Thread Ed Vinyard
New submission from Ed Vinyard: In the email module example, email-unpack.py (http://docs.python.org/lib/email-unpack.txt), line 56 throws an AttributeError. It is currently ext = mimetypes.guess_extension(part.get_type()) I think this line should be ext = mimetypes.guess_extension(pa