![]() Server : LiteSpeed System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : claqxcrl ( 523) PHP Version : 8.1.32 Disable Function : NONE Directory : /lib/python3.6/site-packages/tuned/hardware/__pycache__/ |
3 �<�e � @ s0 d dl mZ ddlZdgZG dd� dej�ZdS )� )�device_matcher� N�DeviceMatcherUdevc @ s e Zd Zdd� ZdS )r c C sr d}y|j j� }W n tk r. |j� }Y nX x,tt|��D ]\}}||d | d 7 }q>W tj||tj�dk S )zc Match a device against the udev regex in tuning profiles. device is a pyudev.Device object � �=� N)� properties�items�AttributeError�sorted�list�re�search� MULTILINE)�selfZregexZdevicer r �key�val� r �)/usr/lib/python3.6/device_matcher_udev.py�match s zDeviceMatcherUdev.matchN)�__name__� __module__�__qualname__r r r r r r s )r r r �__all__Z DeviceMatcherr r r r r �<module> s