grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026a ©!cã@s8ddlmZddlmZd dd„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Ú hózindent_block..)ÚjoinÚ splitlines)rrrrÚ indent_blockgsr$N)rr)r)Z __future__rZ dnf.pycomprrrr$rrrrÚs   5