| Server IP : 88.99.149.37 / Your IP : 216.73.216.141 Web Server : nginx/1.31.2 System : Linux server-88-99-149-37 6.12.0-124.56.5.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May 15 06:12:08 EDT 2026 x86_64 User : muralimurth ( 1015) PHP Version : 8.4.23 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /proc/thread-self/root/lib/python3.12/site-packages/dnf/cli/__pycache__/ |
Upload File : |
�
�(f� � � � d dl mZ d dlmZmZ d dlmZ d dlmZ d dl m Z d dl
Z
d dlZd dl
Z G d� dej j � Zy) � )�unicode_literals)�
format_number�format_time)�_term_width)�unicode)�timeNc � � e Zd ZdZej
j dej
j dej
j dej
j diZ
ej dddfd �Z
d
� Zdd�Zd� Zd
� Zd� Zy)�MultiFileProgressMeterz"Multi-file download progress meter�FAILED�SKIPPED�MIRROR�DRPMg333333�?g �?g @c �* � || _ || _ || _ || _ d| _ d| _ t j j � | _ d| _ d| _
d| _ g | _ i | _
d| _ d| _ d| _ d| _ d| _ y)z�Creates a new progress meter instance
update_period -- how often to update the progress bar
tick_period -- how fast to cycle through concurrent downloads
rate_average -- time constant for average speed calculation
r N)�fo�
update_period�tick_period�rate_average�unknown_progres�
total_drpm�sys�stdout�isatty� done_drpm�
done_files� done_size�active�state� last_time� last_size�rate�total_files�
total_size)�selfr r r r s �5/usr/lib/python3.12/site-packages/dnf/cli/progress.py�__init__zMultiFileProgressMeter.__init__&