Server IP : 15.235.198.142 / Your IP : 216.73.216.229 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/DistUpgrade/__pycache__/ |
Upload File : |
� &��e&6 � �( � d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlZd dlZd dl Z d dl Z d dlZ d dlm Z mZ d dl mZmZ ddlmZmZmZ ddlmZ ddlmZ G d� d e� Z G d � de� Z G d� d e� Zedk( r� e� Z e� Z e� ZejA dd� e jB � Z"ejF dd D ] Z$e"e$ jK � � e"jM ee� ejN d� ejP d � yy)� N)�NoSectionError� NoOptionError)�PIPE�Popen� )�DistUpgradeView�InstallProgress�AcquireProgress)�get)�DistUpgradeConfigc � � e Zd Zd� Zy)�NonInteractiveAcquireProgressc �Z � t j | ||||� |t j k( rt d|| j t j t | j � � fz � t j j � rt j j � y y y )Nzfetched %s (%.2f/100) at %sb/s) r � update_status�apt_pkg� STAT_DONE�print�percent�size_to_str�int�current_cps�sys�stdout�isatty�flush)�self�uri�descr� shortDescr�statuss �K/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeViewNonInteractive.pyr z+NonInteractiveAcquireProgress.update_status, s� � ��%�%�d�C�� �F�K��W�&�&�&��2��T�\�\�7�#6�#6�s�4�;K�;K�7L�#M�6O� O� P��z�z� � �"�� � � � �"� #� '� N)�__name__� __module__�__qualname__r � r"