403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /lib/python3.9/site-packages/dnf/cli/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /lib/python3.9/site-packages/dnf/cli/__pycache__/format.cpython-39.opt-1.pyc
a

�!c�@s8ddlmZddlmZddd�Zddd�Zdd	�Zd
S)
�)�unicode_literals)�long� c	Cs�gd�}|rd}nd}d}d}t|�d}|dur6d}||krX||krX|d}||}q6t|t�slt|t�rrd	}n|d
kr�d}nd}|t|p�d�|||fS)
a�Return a human-readable metric-like string representation
    of a number.

    :param number: the number to be converted to a human-readable form
    :param SI: If is 0, this function will use the convention
       that 1 kilobyte = 1024 bytes, otherwise, the convention
       that 1 kilobyte = 1000 bytes will be used
    :param space: string that will be placed between the number
       and the SI prefix
    :return: a human-readable metric-like string representation of
       *number*
    )	r�k�M�G�T�P�E�Z�Yg@�@g�@i�r�Ngz%i%s%sgfffff�#@z%.1f%s%sz%.0f%s%s)�len�
isinstance�intr�float)	�numberZSI�spaceZsymbols�stepZthresh�depthZ	max_depth�format�r�2/usr/lib/python3.9/site-packages/dnf/cli/format.py�
format_numbers"


rcCsx|dus|dkr|rdSdSnV|td�kr.dSt|�}|d}|d}|rh|d}|d}d|||fSd	||fSdS)
a�Return a human-readable string representation of a number
    of seconds.  The string will show seconds, minutes, and
    optionally hours.

    :param seconds: the number of seconds to convert to a
       human-readable form
    :param use_hours: If use_hours is 0, the representation will
       be in minutes and seconds. Otherwise, it will be in hours,
       minutes, and seconds
    :return: a human-readable string representation of *seconds*
    Nrz--:--:--z--:--�infZInfinite�<z%02i:%02i:%02iz	%02i:%02i)rr)ZsecondsZ	use_hoursZminutesZhoursrrr�format_timeIsrcCsd�dd�|��D��S)N�
css|]}d|VqdS)z  Nr)�.0�srrr�	<genexpr>h�zindent_block.<locals>.<genexpr>)�join�
splitlines)rrrr�indent_blockgsr$N)rr)r)Z
__future__rZ
dnf.pycomprrrr$rrrr�<module>s
5


Youez - 2016 - github.com/yon3zu
LinuXploit