Ñò
T>ÔQc @ s9 d d k Z d d k Td Z d Z d d d „ ƒ YZ d S( iÿÿÿÿN( t *t nt dt dmidecodeXMLc B s2 e 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 restype( t self( ( s/ /usr/lib64/python2.6/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 value( R R t
DMIXML_DOCt TypeErrort True( R t type( ( s/ /usr/lib64/python2.6/site-packages/dmidecode.pyt
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 value( R R t libxml2t xmlNodet xmlapiR t xmlDocR ( R t sectnamet ret( ( s/ /usr/lib64/python2.6/site-packages/dmidecode.pyt 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 value( R R R R R R R R ( R t tpidR ( ( s/ /usr/lib64/python2.6/site-packages/dmidecode.pyt QueryTypeIdI s ( t __name__t
__module__t __doc__R R R R ( ( ( s/ /usr/lib64/python2.6/site-packages/dmidecode.pyR " s
( ( R t dmidecodemodR R R ( ( ( s/ /usr/lib64/python2.6/site-packages/dmidecode.pyt