0x1949 Team - FAZEMRX - MANAGER
Edit File: utils.cpython-310.pyc
o ��{fmH � @ sB d dl mZ d dlmZ d dlmZ d dlmZmZmZ d dl m Z d dlZd dlZe� � d dlZd dlZd dlZd dlZd dlZd dlZd dlZzd dlmZmZmZmZmZ d dlmZ W n ey} d dlmZmZmZmZmZ d dlmZ Y nw d d l m Z G d d� de!�Z"G dd � d �Z#dd� Z$dd� Z%dMdd�Z&dd� Z'dNdd�Z(dd� Z)dd� Z*dd� Z+d d!� Z,d"d#� Z-d$d%� Z.G d&d'� d'e�Z/dMd(d)�Z0dMd*d+�Z1d,d-� Z2d.d/� Z3d0d1� Z4d2d3� Z5dMd4d5�Z6d6d7� Z7dMd8d9�Z8dMd:d;�Z9d<d=� Z:d>d?� Z;d@dA� Z<dBdC� Z=dDdE� Z>dFdG� Z?dHdI� Z@eAdJk�re:ddKdL� dS dS )O� )�print_function)�gettext)�ngettext)�S_IMODE�ST_MODE�S_IXUSR)�ceilN)�ProxyHandler�Request�build_opener�install_opener�urlopen)�urlsplit)�copyc @ s* e Zd ZdZd dd�Zdd� Zdd� Zd S )� ExecutionTimez� Helper that can be used in with statements to have a simple measure of the timing of a particular block of code, e.g. with ExecutionTime("db flush"): db.flush() � c C s || _ d S �N)�info)�selfr � r �3/usr/lib/python3/dist-packages/DistUpgrade/utils.py�__init__G s zExecutionTime.__init__c C s t � � | _d S r )�time�now�r r r r � __enter__J s zExecutionTime.__enter__c C s t d| jt�� | j f � d S )Nz%s: %s)�printr r r )r �type�value�stackr r r �__exit__M s zExecutionTime.__exit__N)r )�__name__� __module__�__qualname__�__doc__r r r r r r r r @ s r c @ s( e Zd ZdZdZdZdZdZdZdZ dS ) �SoftwarePropertiesPager � � � � � � N) r! r"