�
��\c@sBddlmZddlZdgZdejfd��YZdS(i(tdevice_matcheri����NtDeviceMatcherUdevcBseZd�ZRS(cCs�d}y|jj�}Wntk
r8|j�}nXx0t|�D]"\}}||d|d7}qFWtj||tj�dk S(sc
Match a device against the udev regex in tuning profiles.
device is a pyudev.Device object
tt=s
N(t
propertiestitemstAttributeErrortlisttretsearcht MULTILINEtNone(tselftregextdeviceRRtkeytval((sF/usr/lib/python2.7/site-packages/tuned/hardware/device_matcher_udev.pytmatchs
(t__name__t
__module__R(((sF/usr/lib/python2.7/site-packages/tuned/hardware/device_matcher_udev.pyRs(RRRt__all__t
DeviceMatcherR(((sF/usr/lib/python2.7/site-packages/tuned/hardware/device_matcher_udev.pyt<module>s |