a ”ˆ«hEã@s0ddlmZddlZdgZGdd„dejƒZdS)é)Údevice_matcheréNÚDeviceMatcherUdevc@seZdZdd„ZdS)rc Csˆd}z|j ¡}Wn6tyHz | ¡}WntyBYYdS0Yn0tt|ƒƒD]\}}||d|d7}qVt ||tj¡duS)zc Match a device against the udev regex in tuning profiles. device is a pyudev.Device object ÚFú=Ú N)Ú propertiesÚitemsÚAttributeErrorÚsortedÚlistÚreÚsearchÚ MULTILINE)ÚselfZregexZdevicerr ÚkeyÚval©rúF/usr/lib/python3.9/site-packages/tuned/hardware/device_matcher_udev.pyÚmatchs   zDeviceMatcherUdev.matchN)Ú__name__Ú __module__Ú __qualname__rrrrrrs)rrr Ú__all__Z DeviceMatcherrrrrrÚs