File: //lib/python2.7/site-packages/click/exceptions.pyc
�
o�Dac @ s) d d l m Z d d l m Z d d l m Z d d l m Z d � Z d e f d � � YZ d e f d � � YZ d
e f d � � YZ
d e
f d
� � YZ d e f d � � YZ d e f d � � YZ
d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d S( i ( t filename_to_ui( t get_text_stderr( t PY2( t echoc C s0 t | t t f � r, d j d � | D� � S| S( Ns / c s s | ] } t | � Vq d S( N( t repr( t .0t x( ( s/ /tmp/pip-build-W6Gm0N/click/click/exceptions.pys <genexpr> s ( t
isinstancet tuplet listt join( t
param_hint( ( s/ /tmp/pip-build-W6Gm0N/click/click/exceptions.pyt _join_param_hints s t ClickExceptionc B sS e Z d Z d Z d � Z d � Z d � Z e rE e Z d � Z n d d � Z
RS( s8 An exception that Click can handle and show to the user.i c C sJ | } t r- | d k r- | j d � } q- n t j | | � | | _ d S( Ns utf-8( R t Nonet encodet Exceptiont __init__t message( t selfR t ctor_msg( ( s/ /tmp/pip-build-W6Gm0N/click/click/exceptions.pyR s c C s | j S( N( R ( R ( ( s/ /tmp/pip-build-W6Gm0N/click/click/exceptions.pyt format_message s c C s | j S( N( R ( R ( ( s/ /tmp/pip-build-W6Gm0N/click/click/exceptions.pyt __str__ s c C s | j j d � S( Ns utf-8( R R ( R ( ( s/ /tmp/pip-build-W6Gm0N/click/click/exceptions.pyR $ s c C s; | d k r t � } n t d j | j � � d | �d S( Ns Error: {}t file( R R R t formatR ( R R ( ( s/ /tmp/pip-build-W6Gm0N/click/click/exceptions.pyt show'