�
i/\c @@ s� d d l m Z d d l m Z d d l Z d d l m Z d d l Z d d l m Z d e j
f d � � YZ d e j j
f d � � YZ d S(
i ( t absolute_import( t unicode_literalsN( t OptionParser( t _t RepoDiffc B@ s e Z d Z d � Z RS( u repodiffc C@ s: t t | � j | | � | d k r) d S| j t � d S( N( t superR t __init__t Nonet register_commandt RepoDiffCommand( t selft baset cli( ( s8 /usr/lib/python2.7/site-packages/dnf-plugins/repodiff.pyR $ s ( t __name__t
__module__t nameR ( ( ( s8 /usr/lib/python2.7/site-packages/dnf-plugins/repodiff.pyR s R c B@ sV e Z d Z e d � Z e d � � Z d � Z d � Z d � Z d � Z
d � Z RS( u repodiffu1 List differences between two sets of repositoriesc
C@ s | j d d d g d d d d d t d � �| j d
d d g d d d d d t d
� �| j d d d d g d t j d d d t d � �| j d d d d d t d � �| j d d d d t d � �| j d d d d t d � �| j d d d d t d � �d S( Nu
--repo-oldu -ot defaultt actionu appendt destu oldt helpu2 Specify old repository, can be used multiple timesu
--repo-newu -nu newu2 Specify new repository, can be used multiple timesu --archu
--archlistu -au archesuh Specify architectures to compare, can be used multiple times. By default, only source rpms are compared.u --sizeu -su
store_trueu5 Output additional data about the size of the changes.u --compare-archuM Compare packages also by arch. By default packages are compared just by name.u --simpleu7 Output a simple one line message for modified packages.u --downgradeuN Split the data for modified packages between upgraded and downgraded packages.( t add_argumentR R t _SplitCallback( t parser( ( s8 /usr/lib/python2.7/site-packages/dnf-plugins/repodiff.pyt
set_argparser/ s
!
!
c C@ s� | j j } t | _ t | _ t | _ d g | j j _ | j j
sS | j j rt t d � } t
j j | � � n xP | j j j � D]<