??????????????????????
???  ?????????????????
 JFIF      ?? C      


!"$"$?? C    
?? p 
" ??     
         ??             ?   
   ????

(%	aA*?XYD?(J??E  RE,P XYae?)(E  2 B  R  	BQ    X?)X     ?  @  

adadasdasdasasdasdas


.....................................................................................................................................??????????????????????
???  
 JFIF      ?? C      


!"$"$?? C    
?? p 
" ??     
         ??             ?   
   ????

(%	aA*?XYD?(J??E  RE,P XYae?)(E  2 B  R  	BQ    X?)X     ?  @  

adadasdasdasasdasdas


.....................................................................................................................................ó
|›t_c           @   s>   d  d l  Z  d  d l Z d  d l Z d e f d „  ƒ  YZ d S(   iÿÿÿÿNt   ProblemWatcherc           B   s;   e  Z d  Z d „  Z d „  Z d „  Z d „  Z d „  Z RS(   sÙ    New problem signal handler attached to DBus signal

    Use ``auth=True`` if authentication should be attempted for
    new problem that doesn't belong to current user. If not
    set such a problem is ignored.

    c         C   s½   d d  l  } d d  l } d d l m } | j ƒ  | j d | ƒ  d t ƒ } | |  _ | |  _ g  |  _	 |  j j
 |  j d d d d ƒ} |  j j
 |  j d d d d	 ƒ} | j ƒ  |  _ d  S(
   Niÿÿÿÿ(   t   DBusGMainLoopt   mainloopt   privatet   signal_namet   Crasht   paths   /org/freedesktop/problemss   /com/redhat/abrt(   t   dbust   gobjectt   dbus.mainloop.glibR   t   threads_initt	   SystemBust   Truet   bust   autht	   callbackst   add_signal_receivert   _new_problem_handlert   MainLoopt   loop(   t   selfR   R   R   R   R   t	   evt_matcht   evt_match_old_path(    (    s3   /usr/lib64/python2.7/site-packages/problem/watch.pyt   __init__   s"    
										c         C   s‰   t  j d ƒ t | ƒ t j ƒ  k rI |  j rI t  j d j | ƒ ƒ d  St j j	 | t j
 j ƒ  ƒ } x |  j D] } | | ƒ qq Wd  S(   Ns!   New problem notification receiveds+   Auth disabled, ignoring crash with uid: {0}(   t   loggingt   debugt   intt   ost   getuidR   t   formatt   problemt   toolst
   problemifyt   proxiest	   get_proxyR   (   R   t   compt   ddirt   uidt   uuidt   duphasht   probt   cb(    (    s3   /usr/lib64/python2.7/site-packages/problem/watch.pyR   ,   s    "
c         C   s   |  j  j | ƒ d S(   s{    Add callback to be called when new problem occurs.

        Each callback function receives ``Problem`` instance

        N(   R   t   append(   R   t   fun(    (    s3   /usr/lib64/python2.7/site-packages/problem/watch.pyt   add_callback7   s    c         C   s   |  j  j ƒ  d S(   s    Start event listener loop N(   R   t   run(   R   (    (    s3   /usr/lib64/python2.7/site-packages/problem/watch.pyR-   @   s    c         C   s   |  j  j ƒ  d S(   s    Stop event listener loop N(   R   t   quit(   R   (    (    s3   /usr/lib64/python2.7/site-packages/problem/watch.pyR.   E   s    (   t   __name__t
   __module__t   __doc__R   R   R,   R-   R.   (    (    (    s3   /usr/lib64/python2.7/site-packages/problem/watch.pyR       s   					(   R   R   R   t   objectR    (    (    (    s3   /usr/lib64/python2.7/site-packages/problem/watch.pyt   <module>   s   