🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-06-14 17:00:01 | PHP 8.1.34
📂
/ (Root)
/
usr
/
lib
/
python3.9
/
site-packages
/
tuned
/
hardware
/
__pycache__
📍 /usr/lib/python3.9/site-packages/tuned/hardware/__pycache__
🔄 Refresh
✏️
Editing: device_matcher_udev.cpython-39.opt-1.pyc
Read Only
a �]�iE � @ s0 d dl mZ ddlZdgZG dd� dej�ZdS )� )�device_matcher� N�DeviceMatcherUdevc @ s e Zd Zdd� ZdS )r c C s� d}z|j �� }W n6 tyH z|�� }W n tyB Y Y dS 0 Y n0 tt|��D ]\}}||d | d 7 }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)�selfZregexZdevicer r �key�val� r �F/usr/lib/python3.9/site-packages/tuned/hardware/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
💾 Save Changes
❌ Cancel