| Server IP : 182.53.201.61 / Your IP : 216.73.217.175 Web Server : Apache/2.2.15 (Fedora) System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 User : apache ( 48) PHP Version : 5.3.3 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/4413/cwd/usr/lib/python2.6/ |
Upload File : |
Ñò
ÈÉŽJc @ s¬ d Z d d k Z d d g Z d „ Z d „ Z d „ Z d „ Z d „ Z d
d g d „ Z d d
„ Z
g d „ Z d „ Z d „ Z
d „ Z e d j o e
ƒ n d S( s% Mailcap file handling. See RFC 1524.iÿÿÿÿNt getcapst findmatchc C sª h } x t ƒ D]’ } y t | d ƒ } Wn t j
o
q n Xt | ƒ } | i ƒ xG | i ƒ D]9 \ } } | | j o | | | <qe | | | | | <qe Wq W| S( s Return a dictionary containing the mailcap database.
The dictionary maps a MIME type (in all lowercase, e.g. 'text/plain')
to a list of dictionaries corresponding to mailcap entries. The list
collects all the entries for that MIME type from all available mailcap
files. Each dictionary contains key-value pairs for that MIME type,
where the viewing command is stored with the key "view".
t r( t listmailcapfilest opent IOErrort readmailcapfilet closet iteritems( t capst mailcapt fpt morecapst keyt value( ( s /usr/lib/python2.6/mailcap.pyR s
c C sq d t i j o t i d } | i d ƒ } n>