D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
usr
/
lib
/
python2.7
/
site-packages
/
tuned
/
hardware
/
Filename :
device_matcher.pyc
back
Copy
� ��\c @ s; d d l Z d d l Z d g Z d e f d � � YZ d S( i����Nt DeviceMatcherc B s e Z d Z d � Z d � Z RS( s, Device name matching against the devices specification in tuning profiles. The devices specification consists of multiple rules separated by spaces. The rules have a syntax of shell-style wildcards and are either positive or negative. The negative rules are prefixed with an exclamation mark. c C s t | t � r$ t j d | � } n g | D]/ } | j d � r+ | j � d k r+ | ^ q+ } g | D] } | | k rg | d ^ qg } t | � d k r� | j d � n t } x* | D]"