HEX
Server: Apache
System: Linux nc-ph-4101.simplemoneygoals.com 5.14.0-503.21.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Jan 12 09:45:05 EST 2025 x86_64
User: dailygoldindex (1004)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //proc/10488/root/lib/python3.9/site-packages/pyudev/__pycache__/_compat.cpython-39.opt-1.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