관리-도구
편집 파일: repolist.cpython-36.opt-1.pyc
3 �ft`z2 � @ s� d dl mZ d dl mZ d dlmZ d dlmZmZmZm Z d dl mZ d dlZ d dlZ d dlZ d dlZd dlZd dlZd dlZejd�Zdd � Zd d� Zdd � Zdd� ZG dd� dej�ZdS )� )�absolute_import)�unicode_literals)�commands)�_�ucd�fill_exact_width�exact_width)�OptionParserN�dnfc C sd |rt jj| jj� �ntd�}| jdkr4td�| S | jsFtd�| S t| j�}td�||f S d S )N�unknown� zNever (last: %s)zInstant (last: %s)z%s second(s) (last: %s)���)r �util�normalize_time�_repo�getTimestampr Zmetadata_expire�_num2ui_num)�repo�mdZlast�num� r �/usr/lib/python3.6/repolist.py�_expire_str% s r c C s t tjjd| d��S )Nz%dT)r r Zpycomp�format)r r r r r 0 s r c C sF | j j� }| jj� }x,|D ]$}tj||�r.dS tj||�rdS qW dS )NTF)�id�lower�name�fnmatch)r Zpatterns�ridZrnmZpatr r r �_repo_match4 s r c C s>