�
�[/\c @@ sV d d l m Z d d l m Z d d l m Z d d l m Z 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
d d l Z d d l Z d d l Z d d l Z e j d � Z i d d d
g d 6d g d 6d g d 6d
g d
6d d d g d 6Z d
� Z d � Z d � Z d � Z d e j f d � � YZ d S( i ( t absolute_import( t unicode_literals( t commands( t _t P_( t miscNu dnfu metadatau dbcacheu expire-cacheu packagesu allc c@ ss xl t j | � D][ \ } } } t j j | | � } x4 | D], } t j j | | � } t j j | � Vq; Wq Wd S( u: Traverse dirpath recursively and yield relative filenames.N( t ost walkt patht relpatht joint normpath( t dirpatht roott dirst filest baset fR ( ( s: /usr/lib/python2.7/site-packages/dnf/cli/commands/clean.pyt _tree1 s
c @ s � f d � | D� S( u5 Yield those filenames that match any of the patterns.c 3@ s4 | ]* } � D] } t j | | � r
| Vq
q d S( N( t ret match( t .0R t p( t patterns( s: /usr/lib/python2.7/site-packages/dnf/cli/commands/clean.pys <genexpr><