Message117163
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). |
|
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 | |
|