homepage

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 gnofi
Recipients gnofi, ronaldoussoren
Date 2010年09月23日.03:03:45
SpamBayes Score 3.6554162e-08
Marked as misclassified No
Message-id <1285211036.93.0.380980799093.issue9923@psf.upfronthosting.co.za>
In-reply-to
Content
mailcap.getcaps() has a call to mailcap.listmailcapfiles(), which returns a list of all mailcap files found on the system.
listmailcapfiles() first looks for the MAILCAPS environment variable. If it exists, it converts the string value into a list by splitting it on ":". This will not work on platforms that use other path separators, like Windows (";").
Attached are patches that use os.pathsep instead.
For more information about the MAILCAPS variable, see Appendix A in RFC 1524 (http://tools.ietf.org/html/rfc1524.html).
History
Date User Action Args
2010年09月23日 03:03:57gnofisetrecipients: + gnofi, ronaldoussoren
2010年09月23日 03:03:56gnofisetmessageid: <1285211036.93.0.380980799093.issue9923@psf.upfronthosting.co.za>
2010年09月23日 03:03:54gnofilinkissue9923 messages
2010年09月23日 03:03:46gnoficreate

AltStyle によって変換されたページ (->オリジナル) /