
­­­­­­­­­­­­­­­­­­
<!DOCTYPE html>
<html>
3
ft`m                 @   sx   d dl mZ d dl mZ d dlmZ d dlmZ d dlZd dlZd dl	Zd dl
Zd dlZejdZG dd dejZdS )	    )absolute_import)unicode_literals)commands)_Ndnfc               @   s,   e Zd Zd	ZedZedd Zdd ZdS )
MakeCacheCommand	makecachemczgenerate the metadata cachec             C   s,   | j dddd | j dddgdtjd d S )Nz--timer
store_true	timer_opt)actiondesttimer?)nargschoicesmetavarhelp)add_argumentargparseZSUPPRESS)parser r   /usr/lib/python3.6/makecache.pyset_argparser'   s    zMakeCacheCommand.set_argparserc             C   s2   | j jd k	p| j j}td}tj| | jj|S )Nz*Making cache files for all metadata files.)Zoptsr   r   r   loggerdebugbaseZupdate_cache)selfr   msgr   r   r   run.   s    
zMakeCacheCommand.runN)r   r	   )	__name__
__module____qualname__aliasesr   Zsummarystaticmethodr   r   r   r   r   r   r   #   s   r   )Z
__future__r   r   Zdnf.clir   Zdnf.i18nr   r   r   Zdnf.exceptionsZdnf.utilZloggingZ	getLoggerr   ZCommandr   r   r   r   r   <module>   s   
