File: //usr/lib/python2.7/site-packages/dnf/plugin.pyc
�
�[/\c @@ sE 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 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 m Z e
j d � Z d Z d e f d � � YZ d
e f d � � YZ d � Z d
� Z d � Z d � Z d S( i ( t absolute_import( t print_function( t unicode_literalsN( t _u dnfu dnf.plugin.dynamict Pluginc B@ sh e Z d Z d Z d
Z e d � � Z d � Z d � Z d � Z
d � Z d � Z d � Z
d � Z RS( u5 The base class custom plugins must derive from. #:apiu <invalid>c C@ s� t j j � } | j r! | j n | j } g | j D] } d | | f ^ q4 } y | j | � Wn5 t j j k
r� } t j j
t d � | � � n X| S( Nu
%s/%s.confu Parsing file failed: %s( t iniparset compatt ConfigParsert config_namet namet pluginconfpatht readt ParsingErrort dnft
exceptionst ConfigErrorR ( t clst conft parserR t patht filest e( ( s. /usr/lib/python2.7/site-packages/dnf/plugin.pyt read_config4 s & c C@ s | | _ | | _ d S( N( t baset cli( t selfR R ( ( s. /usr/lib/python2.7/site-packages/dnf/plugin.pyt __init__@ s c C@ s d S( N( ( R ( ( s. /usr/lib/python2.7/site-packages/dnf/plugin.pyt
pre_configE s c C@ s d S( N( ( R ( ( s. /usr/lib/python2.7/site-packages/dnf/plugin.pyt configI s c C@ s d S( N( ( R ( ( s. /usr/lib/python2.7/site-packages/dnf/plugin.pyt resolvedM s c C@ s d S( N( ( R ( ( s. /usr/lib/python2.7/site-packages/dnf/plugin.pyt sackQ s c C@ s d S( N( ( R ( ( s. /usr/lib/python2.7/site-packages/dnf/plugin.pyt pre_transactionU s c C@ s d S( N( ( R ( ( s. /usr/lib/python2.7/site-packages/dnf/plugin.pyt transactionY s N( t __name__t
__module__t __doc__R t NoneR t classmethodR R R R R R R R ( ( ( s. /usr/lib/python2.7/site-packages/dnf/plugin.pyR . s t Pluginsc B@ s� e Z d � Z d � Z d � Z d � Z d � Z d � Z d
d � Z d � Z
d � Z d � Z d
� Z
d � Z d � Z RS( c C@ s g | _ g | _ d S( N( t
plugin_clst plugins( R ( ( s. /usr/lib/python2.7/site-packages/dnf/plugin.pyR _ s c C@ s� xy | j D]n } y t | | � � Wq
t k
rw t j � \ } } } t j | | | � } t j d j | � � q
Xq
Wd S( Nu (
R( t getattrt Exceptiont syst exc_infot tracebackt format_exceptiont loggert criticalt join( R t methodt plugint exc_typet exc_valuet
exc_tracebackt except_list( ( s. /usr/lib/python2.7/site-packages/dnf/plugin.pyt _callerc s
c @ s� x� | j D]� } | j � t � f d � | D� � r<