Message117163
| 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:57 | gnofi | set | recipients:
+ gnofi, ronaldoussoren |
| 2010年09月23日 03:03:56 | gnofi | set | messageid: <1285211036.93.0.380980799093.issue9923@psf.upfronthosting.co.za> |
| 2010年09月23日 03:03:54 | gnofi | link | issue9923 messages |
| 2010年09月23日 03:03:46 | gnofi | create |
|