<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"
        integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ=="
        crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
</html>
3
ft`                 @   s8   d dl mZ d dlmZ dddZdddZdd	 Zd
S )    )unicode_literals)long c       	   	   C   s   ddddddddd	g	}|r d
}nd}d}d}t |d }| dkrDd} x$| |krh||k rh|d }| | } qFW t| ts~t| trd}n| dk rd}nd}|t| pd||| f S )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      Ng        z%i%s%sgfffff#@z%.1f%s%sz%.0f%s%s)len
isinstanceintr   float)	ZnumberZSIZspaceZsymbolsstepZthreshdepthZ	max_depthformat r   /usr/lib/python3.6/format.pyformat_number   s4     r   c             C   sx   | dks| dk r|rdS dS nV| t dkr.dS t| } | d }| d } |rh|d }|d }d||| f S d	|| f S dS )
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*
    Nr   z--:--:--z--:--infZInfinite<   z%02i:%02i:%02iz	%02i:%02i)r   r   )ZsecondsZ	use_hoursZminutesZhoursr   r   r   format_timeI   s     r   c             C   s   dj dd | j D S )N
c             s   s   | ]}d | V  qdS )z  Nr   ).0sr   r   r   	<genexpr>h   s    zindent_block.<locals>.<genexpr>)join
splitlines)r   r   r   r   indent_blockg   s    r!   N)r   r   )r   )Z
__future__r   Z
dnf.pycompr   r   r   r!   r   r   r   r   <module>   s   
5
