Home
last modified time | relevance | path

Searched refs:mailcap (Results 1 - 2 of 2) sorted by relevance

/third_party/python/Lib/test/
H A Dtest_mailcap.py11 mailcap = warnings_helper.import_deprecated('mailcap') variable
14 # Location of mailcap file
15 MAILCAPFILE = test.support.findfile("mailcap.txt")
17 # Dict to act as mock mailcap entry for this test
80 mcfiles = mailcap.listmailcapfiles()
90 env_mailcaps = ["/testdir1/.mailcap", "/testdir2/mailcap"]
92 mcfiles = mailcap.listmailcapfiles()
99 d = mailcap
[all...]
/third_party/python/Lib/
H A Dmailcap.py32 """Return a dictionary containing the mailcap database.
35 to a list of dictionaries corresponding to mailcap entries. The list
36 collects all the entries for that MIME type from all available mailcap
43 for mailcap in listmailcapfiles():
45 fp = open(mailcap, 'r')
58 """Return a list of all mailcap files found on the system."""
69 mailcaps = [home + '/.mailcap', '/etc/mailcap',
70 '/usr/etc/mailcap', '/usr/local/etc/mailcap']
[all...]

Completed in 1 milliseconds