HEX
Server: Apache
System: Linux a16-asgard6.hospedagemuolhost.com.br 5.14.0-570.52.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 15 06:39:08 EDT 2025 x86_64
User: maoristu4c3dbd03 (1436)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //usr/lib/python3.9/site-packages/pyudev/__pycache__/_compat.cpython-39.pyc
a

8g+^��@s<dZddlmZmZmZmZddlmZmZm	Z	dd�Z
dS)z�
    pyudev._compat
    ==============

    Compatibility for Python versions, that lack certain functions.

    .. moduleauthor::  Sebastian Wiesner  <lunaryorn@gmail.com>
�)�print_function�division�unicode_literals�absolute_import)�Popen�CalledProcessError�PIPEcCs2t|td�}|��d}|jdkr.t|j|��|S)z]
    Compatibility with :func:`subprocess.check_output` from Python 2.7 and
    upwards.
    )�stdoutr)rrZcommunicate�
returncoder)Zcommand�proc�output�r
�2/usr/lib/python3.9/site-packages/pyudev/_compat.py�check_output s

rN)�__doc__Z
__future__rrrr�
subprocessrrrrr
r
r
r�<module>s