Tryag File Manager
Home
-
Turbo Force
Current Path :
/
usr
/
lib
/
python2.4
/
site-packages
/
Upload File :
New :
File
Dir
//usr/lib/python2.4/site-packages/dmidecode.pyc
mò %zLc @ s3 d k Z d k Td Z d Z d f d „ ƒ YZ d S( N( t *t nt dt dmidecodeXMLc B s2 t Z d Z d „ Z d „ Z d „ Z d „ Z RS( s= Native Python API for retrieving dmidecode information as XMLc C s t | _ d S( N( t DMIXML_NODEt selft restype( R ( ( t- /usr/lib/python2.4/site-packages/dmidecode.pyt __init__% s c C sA | t j o t | _ n$ | t j o t | _ n t d ‚ t S( sµ Sets the result type of queries. The value can be DMIXML_NODE or DMIXML_DOC, which will return an libxml2::xmlNode or libxml2::xmlDoc object, respectively s Invalid result type valueN( t typeR R R t DMIXML_DOCt TypeErrort True( R R ( ( R t SetResultType( s c C s‰ | i t j o. t i d t d d d | i d | ƒ ƒ } nH | i t j o. t i d t d d d | i d | ƒ ƒ } n t d ‚ | S( s‰ Queries the DMI data structure for a given section name. A section can often contain several DMI type elements t _objt query_typet st result_typet sections Invalid result type valueN( R R R t libxml2t xmlNodet xmlapit sectnamet retR t xmlDocR ( R R R ( ( R t QuerySection6 s c C s‰ | i t j o. t i d t d d d | i d | ƒ ƒ } nH | i t j o. t i d t d d d | i d | ƒ ƒ } n t d ‚ | S( sI Queries the DMI data structure for a specific DMI type. R R t tR t typeids Invalid result type valueN( R R R R R R t tpidR R R R ( R R R ( ( R t QueryTypeIdI s ( t __name__t __module__t __doc__R R R R ( ( ( R R "