Server IP : 85.193.89.191 / Your IP : 18.189.182.176 Web Server : Apache System : Linux 956367-cx40159.tmweb.ru 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64 User : bitrix ( 600) PHP Version : 8.1.27 Disable Function : NONE MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/977/root/usr/lib64/python2.7/site-packages/reportclient/ |
Upload File : |
� ��^c @ s= d Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l m Z d d l m Z m Z d d l m Z d d l m Z d d l m Z m Z m Z m Z m Z m Z m Z m Z m Z d a d � Z e e d � � Z d � Z d e f d � � YZ d � Z d e f d � � YZ d � Z d � Z! d S( s\ This module provides classes and functions used to download and manage debuginfos. i����N( t Popen( t _t YumBase( t DownloadBaseCallback( t YumBaseError( R t log1t log2t RETURN_OKt RETURN_FAILUREt RETURN_CANCEL_BY_USERt verboset ask_yes_not error_msgt c sq d d l } t j � � t j � � | j d � � � j � k rU � j � k rU � S� � � � f d � } | S( s� Ensures that the function is called using abrt's uid and gid Returns: Either an unchanged function object or a wrapper function object for the function. i����Nt abrtc sM t j � j � t j � j � � | | � } t j � � t j � � | S( s� Wrapper function around the called function. Sets up uid and gid to match abrt's and after the function finishes rolls its uid and gid back. Returns: Return value of the wrapped function. ( t ost setegidt pw_gidt seteuidt pw_uid( t argst kwargst retval( R t current_gidt current_uidt fn( s<