OXIESEC PANEL
- Current Dir:
/
/
lib
/
python3.9
/
site-packages
/
dnf
/
cli
/
__pycache__
Server IP: 2a02:4780:11:1594:0:ef5:22d7:a
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
02/13/2025 09:25:12 PM
rwxr-xr-x
📄
__init__.cpython-39.opt-1.pyc
527 bytes
10/02/2024 12:55:36 PM
rw-r--r--
📄
__init__.cpython-39.pyc
527 bytes
10/02/2024 12:55:36 PM
rw-r--r--
📄
aliases.cpython-39.opt-1.pyc
5.36 KB
10/02/2024 12:55:36 PM
rw-r--r--
📄
aliases.cpython-39.pyc
5.36 KB
10/02/2024 12:55:36 PM
rw-r--r--
📄
cli.cpython-39.opt-1.pyc
30.27 KB
10/02/2024 12:55:37 PM
rw-r--r--
📄
cli.cpython-39.pyc
30.28 KB
10/02/2024 12:55:36 PM
rw-r--r--
📄
completion_helper.cpython-39.opt-1.pyc
8.23 KB
10/02/2024 12:55:37 PM
rw-r--r--
📄
completion_helper.cpython-39.pyc
8.23 KB
10/02/2024 12:55:37 PM
rw-r--r--
📄
demand.cpython-39.opt-1.pyc
1.56 KB
10/02/2024 12:55:37 PM
rw-r--r--
📄
demand.cpython-39.pyc
1.56 KB
10/02/2024 12:55:37 PM
rw-r--r--
📄
format.cpython-39.opt-1.pyc
2.31 KB
10/02/2024 12:55:37 PM
rw-r--r--
📄
format.cpython-39.pyc
2.31 KB
10/02/2024 12:55:37 PM
rw-r--r--
📄
main.cpython-39.opt-1.pyc
5.32 KB
10/02/2024 12:55:37 PM
rw-r--r--
📄
main.cpython-39.pyc
5.32 KB
10/02/2024 12:55:37 PM
rw-r--r--
📄
option_parser.cpython-39.opt-1.pyc
16.75 KB
10/02/2024 12:55:37 PM
rw-r--r--
📄
option_parser.cpython-39.pyc
16.75 KB
10/02/2024 12:55:37 PM
rw-r--r--
📄
output.cpython-39.opt-1.pyc
55.47 KB
10/02/2024 12:55:37 PM
rw-r--r--
📄
output.cpython-39.pyc
55.54 KB
10/02/2024 12:55:37 PM
rw-r--r--
📄
progress.cpython-39.opt-1.pyc
4.56 KB
10/02/2024 12:55:37 PM
rw-r--r--
📄
progress.cpython-39.pyc
4.56 KB
10/02/2024 12:55:37 PM
rw-r--r--
📄
term.cpython-39.opt-1.pyc
11.52 KB
10/02/2024 12:55:37 PM
rw-r--r--
📄
term.cpython-39.pyc
11.54 KB
10/02/2024 12:55:37 PM
rw-r--r--
📄
utils.cpython-39.opt-1.pyc
3.17 KB
10/02/2024 12:55:37 PM
rw-r--r--
📄
utils.cpython-39.pyc
3.17 KB
10/02/2024 12:55:37 PM
rw-r--r--
Editing: utils.cpython-39.opt-1.pyc
Close
a �!c� � @ s� d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlZ ddl Z ddlZddlZe� ejd �Ze �d�Zd d � Zdd� Zd d� Zdd� ZdS )z/Various utility functions, and a utility class.� )�absolute_import)�unicode_literals)� format_number)�_N� SC_CLK_TCK�dnfc C s t | �t S )z�Convert a number of jiffies to seconds. How many jiffies are in a second is system-dependent, e.g. 100 jiffies = 1 second is common. :param jiffies: a number of jiffies :return: the equivalent number of seconds )�int�_USER_HZ)Zjiffies� r �1/usr/lib/python3.9/site-packages/dnf/cli/utils.py�jiffies_to_seconds s r c C sj | dkr0d| d | d d | d d | d f S | dkrVd| d | d d | d f S d| d | d f S )a Return a human-readable string representation of the length of a time interval given in seconds. :param seconds: the length of the time interval in seconds :return: a human-readable string representation of the length of the time interval i�Q z%d day(s) %d:%02d:%02di � �<