Ñò
­{®Nc           @   s&   d  d k  l Z d „  Z d „  Z d S(   iÿÿÿÿ(   t   LOG_WRAPPED_CURRENT_EXCEPTIONc            s   ‡  ‡ f d †  ‰  ˆ  S(   Nc             sH   y ˆ |  | Ž  SWn0 t  ˆ  i ˆ i ˆ i i ˆ i i d ƒ n Xd  S(   Ni   (   R    t   __name__t	   func_codet   co_filenamet   co_firstlineno(   t   argst   kwArgs(   t   wrappert   func(    s   scripts/common/wotdecorators.pyR   
   s     (    (   R   (    (   R   R   s   scripts/common/wotdecorators.pyt   noexcept	   s    c            s   ‡  ‡ f d †  ‰  ˆ  S(   Nc             s^   y ˆ |  | Ž  SWnF t  ˆ  i ˆ i ˆ i i ˆ i i d ƒ d d  k } | i ƒ  n Xd  S(   Ni   iÿÿÿÿ(   R    R   R   R   R   t   syst   exit(   R   R   R
   (   R   R   (    s   scripts/common/wotdecorators.pyR      s     (    (   R   (    (   R   R   s   scripts/common/wotdecorators.pyt   nofail   s    N(   t   debug_utilsR    R	   R   (    (    (    s   scripts/common/wotdecorators.pyt   <module>   s   	