HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //lib/python3.6/site-packages/usb/__pycache__/__init__.cpython-36.pyc
3

bA%W�
�@sNdZddlZddlZdZdZdeZdddd	d
dgZdd
�Ze�ddlTdS)a�PyUSB - Easy USB access in Python

This package exports the following modules and subpackages:

    core - the main USB implementation
    legacy - the compatibility layer with 0.x version
    backend - the support for backend implementations.
    control - USB standard control requests.
    libloader - helper module for backend library loading.

Since version 1.0, main PyUSB implementation lives in the 'usb.core'
module. New applications are encouraged to use it.
�NzWander Lairson Costa�z%d.%d.%d�legacyZcontrolZcoreZbackend�utilZ	libloaderc		Cs�ddlm}tjd�}tjd�}|dk	r�|jd�tjd�}tjtjtj	tj
tjd�}|j|tjd�}|j
|d	�ytj|�}Wntj�}YnXtjd
�}|j|�|j|�n.Gdd�dtj�}|j
tjd�|j|��dS)
Nr)�_debug�usbZPYUSB_DEBUGTZPYUSB_LOG_FILENAME)�debug�infoZwarning�errorZcritical�
)�levelz.%(asctime)s %(levelname)s:%(name)s:%(message)sc@seZdZdd�ZdS)z_setup_log.<locals>.NullHandlercSsdS)N�)�self�recordrr�/usr/lib/python3.6/__init__.py�emitRsz$_setup_log.<locals>.NullHandler.emitN)�__name__�
__module__�__qualname__rrrrr�NullHandlerQsr)rr�loggingZ	getLogger�os�getenvZenable_tracing�DEBUG�INFOZWARNINGZERRORZCRITICAL�getZsetLevelZFileHandlerZ
StreamHandlerZ	FormatterZsetFormatterZ
addHandlerZHandler)	rZloggerZdebug_level�filenameZLEVELSrZhandlerZfmtrrrr�
_setup_log6s.






r)�*)rrr)	�__doc__rr�
__author__�version_info�__version__�__all__rZ
usb.legacyrrrr�<module>)s'