VULN_CHECK_I913V6 (f2ddlmZddlmZddZddZdZy) )unicode_literals)longc gd}|rd}nd}d}d}t|dz }|d}||kDr||kr|dz}||z }||kDr||krt|tst|trd}n |d krd }nd }|t |xsd|||fzS) aReturn 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* )  kMGTPEZYg@@g@irgz%i%s%sgfffff#@z%.1f%s%sz%.0f%s%s)len isinstanceintrfloat) numberSIspacesymbolsstepthreshdepth max_depthformats 3/usr/lib/python3.12/site-packages/dnf/cli/format.py format_numberrsG &4$ F EG q I ~ 6/ei/$ 6/ei/&#*VT": $ U6;Q'? ?@c||dkr|ryy|tdk(ryt|}|dz}|dz}|r|dz}|dz}d|||fzSd||fzS) aReturn 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* rz--:--:--z--:--infInfinite<z%02i:%02i:%02iz %02i:%02i)rr)seconds use_hoursminuteshourss r format_timer(Isx'A+ Z$ E%L g,R-B, rMElG#ugw&?? ?'7!33 3rcNdjd|jDS)N c3&K|] }d|z yw)z N).0ss r zindent_block..hs6~!TAX~s)join splitlines)r.s r indent_blockr2gs 996q||~6 66rN)rr)r) __future__r dnf.pycomprrr(r2r,rrr5s"(3Aj4<7r