Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
proc
/
thread-self
/
root
/
usr
/
lib
/
python2.7
/
site-packages
/
File Content:
hwdata.pyo
� ��POc @ s0 d Z d d d � � YZ d d d � � YZ d S( sF Query hwdata database and return decription of vendor and/or device. t USBc B s8 e Z d Z d Z d Z d d � Z d � Z d � Z RS( s) Interace to usb.ids from hwdata package s /usr/share/hwdata/usb.idsc C s� | r | | _ n t j | _ d | _ | j r�t j r�i t _ x�t | j � j � D]h} | j � } | j d � r� | j d � rY Pq�qY qY t | � d k r� qY qY | j d � r| d j � } t | � d k r� d j | d � } n d } | t j | d | d | <qY | j d � rh| d j � } d j | d � } | i g t j | d | <qY | d j � } d j | d � } | t j k r�| i g t j | <qY | t j | d <qY Wn d S( s Load pci.ids from file to internal data structure. parameter 'filename' can specify location of this file i t #s8 # List of known device classes, subclasses and protocolsi s i t t s N( t filenameR t cachet devicest opent readlinest splitt startswitht lent lowert join( t selfR t linet lt interface_idt interface_namet vendort devicet device_namet vendor_name( ( s* /usr/lib/python2.7/site-packages/hwdata.pyt __init__ s: c C sA | j � } | j r: | t j k r3 t j | d Sd Sn � d S( s~ Return description of vendor. Parameter is two byte code in hexa. If vendor is unknown None is returned. i N( R R R R t None( R R ( ( s* /usr/lib/python2.7/site-packages/hwdata.pyt get_vendor@ s c C ss | j � } | j � } | j rl | t j k re | t j | d k r^ t j | d | d Sd Sqo d Sn � d S( s� Return description of device. Parameters are two byte code variables in hexa. If device is unknown None is returned. i i N( R R R R R ( R R R ( ( s* /usr/lib/python2.7/site-packages/hwdata.pyt get_deviceM s N( t __name__t __module__t __doc__R R R R R R ( ( ( s* /usr/lib/python2.7/site-packages/hwdata.pyR s ) t PCIc B s8 e Z d Z d Z d Z d d � Z d � Z d � Z RS( s) Interace to pci.ids from hwdata package s /usr/share/hwdata/pci.idsc C sm | r | | _ n t j | _ d | _ | j rit j rii } i t _ xt | j � j � D]} | j � } | j d � r� q_ q_ t | � d k r� q_ q_ | j d � r� q_ q_ | j d � r� | d j � } d j | d � } | t j | d | <q_ | d j � } d j | d � } | t t j j � � k rQ| i g t j | <q_ | t j | d <q_ Wn d S( s Load pci.ids from file to internal data structure. parameter 'filename' can specify location of this file i R i s s R N( R R R R R R R R R R R t listt keys( R R t pcirecR R R R R R ( ( s* /usr/lib/python2.7/site-packages/hwdata.pyR c s0 c C sM | j � } | j rF | t t j j � � k r? t j | d Sd Sn � d S( s~ Return description of vendor. Parameter is two byte code in hexa. If vendor is unknown None is returned. i N( R R R R R R R ( R R ( ( s* /usr/lib/python2.7/site-packages/hwdata.pyR � s c C s� | j � } | j � } | j r� | t t j j � � k ry | t t j | d j � � k rr t j | d | Sd Sq� d Sn � d S( s� Return description of device. Parameters are two byte code variables in hexa. If device is unknown None is returned. i N( R R R R R R R ( R R R ( ( s* /usr/lib/python2.7/site-packages/hwdata.pyR � s #N( R R R R R R R R R ( ( ( s* /usr/lib/python2.7/site-packages/hwdata.pyR ^ s " N( ( ( R R R ( ( ( s* /usr/lib/python2.7/site-packages/hwdata.pyt <module> s L
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
Babel-0.9.6-py2.7.egg-info
---
0755
Jinja2-2.7.2-py2.7.egg-info
---
0755
Pygments-2.0.2-py2.7.egg-info
---
0755
_markerlib
---
0755
awscli
---
0755
awscli-1.11.71.dist-info
---
0755
babel
---
0755
backports
---
0755
boto
---
0755
boto-2.45.0-py2.7.egg-info
---
0755
botocore
---
0755
botocore-1.5.34.dist-info
---
0755
chardet
---
0755
chardet-2.2.1-py2.7.egg-info
---
0755
clcommon
---
0755
cloud_init-19.4-py2.7.egg-info
---
0755
cloudinit
---
0755
colorama
---
0755
colorama-0.3.7.dist-info
---
0755
concurrent
---
0755
dateutil
---
0755
decorator-3.4.0-py2.7.egg-info
---
0755
docutils
---
0755
docutils-0.13.1.dist-info
---
0755
firewall
---
0755
futures-3.0.5.dist-info
---
0755
google
---
0755
iniparse
---
0755
isc
---
0755
javapackages
---
0755
javapackages-1.0.0-py2.7.egg-info
---
0755
jinja2
---
0755
jmespath
---
0755
jmespath-0.9.2.dist-info
---
0755
jsonpatch-1.2-py2.7.egg-info
---
0755
jsonpointer-1.9-py2.7.egg-info
---
0755
kitchen
---
0755
kitchen-1.1.1-py2.7.egg-info
---
0755
markdown
---
0755
pip
---
0755
pip-8.1.2-py2.7.egg-info
---
0755
ply
---
0755
prettytable-0.7.2-py2.7.egg-info
---
0755
procfs
---
0755
protobuf-2.5.0-py2.7.egg-info
---
0755
pyasn1
---
0755
pyasn1-0.1.9-py2.7.egg-info
---
0755
pycriu
---
0755
pygments
---
0755
python_dateutil-2.6.0.dist-info
---
0755
pyudev
---
0755
pyudev-0.15-py2.7.egg-info
---
0755
pyzor
---
0755
pyzor-1.0.0-py2.7.egg-info
---
0755
redhat_support_lib
---
0755
redhat_support_tool
---
0755
requests
---
0755
rhn
---
0755
rpmUtils
---
0755
rsa
---
0755
rsa-3.4.1-py2.7.egg-info
---
0755
s3transfer
---
0755
s3transfer-0.1.10.dist-info
---
0755
serial
---
0755
setuptools
---
0755
setuptools-0.9.8-py2.7.egg-info
---
0755
six-1.9.0-py2.7.egg-info
---
0755
slip
---
0755
tuned
---
0755
urlgrabber
---
0755
urllib3
---
0755
urllib3-1.13.1-py2.7.egg-info
---
0755
yum
---
0755
yumutils
---
0755
IPy-0.75-py2.7.egg-info
10061 bytes
0644
IPy.py
51270 bytes
0644
IPy.pyc
40873 bytes
0644
IPy.pyo
40873 bytes
0644
Markdown-2.4.1-py2.7.egg-info
2282 bytes
0644
backports.ssl_match_hostname-3.5.0.1-py2.7.egg-info
4051 bytes
0644
clsudo.py
12953 bytes
0644
clsudo.pyc
11285 bytes
0644
clsudo.pyo
11285 bytes
0644
configobj-4.7.2-py2.7.egg-info
2135 bytes
0644
configobj.py
88163 bytes
0644
configobj.pyc
66278 bytes
0644
configobj.pyo
66278 bytes
0644
crit-0.0.1-py2.7.egg-info
231 bytes
0644
decorator.py
10639 bytes
0644
decorator.pyc
8563 bytes
0644
decorator.pyo
8516 bytes
0644
easy_install.py
126 bytes
0644
easy_install.pyc
315 bytes
0644
easy_install.pyo
315 bytes
0644
hwdata.py
6033 bytes
0644
hwdata.pyc
4487 bytes
0644
hwdata.pyo
4487 bytes
0644
iniparse-0.4-py2.7.egg-info
1083 bytes
0644
ipaddr-2.1.11-py2.7.egg-info
588 bytes
0644
ipaddr.py
59560 bytes
0644
ipaddr.pyc
57572 bytes
0644
ipaddr.pyo
57371 bytes
0644
ipaddress-1.0.16-py2.7.egg-info
783 bytes
0644
ipaddress.py
79904 bytes
0644
ipaddress.pyc
75525 bytes
0644
ipaddress.pyo
75335 bytes
0644
isc-2.0-py2.7.egg-info
267 bytes
0644
jsonpatch.py
15946 bytes
0644
jsonpatch.pyc
17386 bytes
0644
jsonpatch.pyo
17182 bytes
0644
jsonpointer.py
9367 bytes
0644
jsonpointer.pyc
9615 bytes
0644
jsonpointer.pyo
9457 bytes
0644
pciutils-1.7.3-py2.7.egg-info
267 bytes
0644
pkg_resources.py
101108 bytes
0644
pkg_resources.pyc
108033 bytes
0644
pkg_resources.pyo
108001 bytes
0644
ply-3.4-py2.7.egg-info
900 bytes
0644
prettytable.py
54204 bytes
0644
prettytable.pyc
51591 bytes
0644
prettytable.pyo
50652 bytes
0644
protobuf-2.5.0-py2.7-nspkg.pth
307 bytes
0644
pyparsing-1.5.6-py2.7.egg-info
670 bytes
0644
pyparsing.py
155429 bytes
0644
pyparsing.pyc
148895 bytes
0644
pyparsing.pyo
148895 bytes
0644
pyserial-2.6-py2.7.egg-info
1399 bytes
0644
python_linux_procfs-0.4.9-py2.7.egg-info
350 bytes
0644
requests-2.9.1-py2.7.egg-info
46161 bytes
0644
rhnlib-2.5.65-py2.7.egg-info
345 bytes
0644
secureio.py
9222 bytes
0644
secureio.pyc
4686 bytes
0644
secureio.pyo
4686 bytes
0644
six.py
29664 bytes
0644
six.pyc
29708 bytes
0644
six.pyo
29708 bytes
0644
slip-0.4.0-py2.7.egg-info
196 bytes
0644
slip.dbus-0.4.0-py2.7.egg-info
269 bytes
0644
urlgrabber-3.10-py2.7.egg-info
2265 bytes
0644
validate.py
46303 bytes
0644
validate.pyc
46711 bytes
0644
validate.pyo
46711 bytes
0644
N4ST4R_ID | Naxtarrr