????

Your IP : 216.73.216.152


Current Path : /usr/lib/python2.7/site-packages/pip/_vendor/urllib3/packages/rfc3986/
Upload File :
Current File : //usr/lib/python2.7/site-packages/pip/_vendor/urllib3/packages/rfc3986/exceptions.pyc

�
}�\]c@s�dZddlmZdefd��YZdefd��YZdefd��YZd	efd
��YZdefd��YZd
efd��YZ	defd��YZ
defd��YZdefd��YZdefd��YZ
dS(sExceptions module for rfc3986.i(tcompattRFC3986ExceptioncBseZdZRS(s-Base class for all rfc3986 exception classes.(t__name__t
__module__t__doc__(((sN/tmp/pip-install-ewDPok/pip/pip/_vendor/urllib3/packages/rfc3986/exceptions.pyRstInvalidAuthoritycBseZdZd�ZRS(s/Exception when the authority string is invalid.cCs,tt|�jdjtj|���dS(s4Initialize the exception with the invalid authority.u!The authority ({0}) is not valid.N(tsuperRt__init__tformatRtto_str(tselft	authority((sN/tmp/pip-install-ewDPok/pip/pip/_vendor/urllib3/packages/rfc3986/exceptions.pyRs(RRRR(((sN/tmp/pip-install-ewDPok/pip/pip/_vendor/urllib3/packages/rfc3986/exceptions.pyR
stInvalidPortcBseZdZd�ZRS(s#Exception when the port is invalid.cCs#tt|�jdj|��dS(s/Initialize the exception with the invalid port.sThe port ("{0}") is not valid.N(RRRR(R
tport((sN/tmp/pip-install-ewDPok/pip/pip/_vendor/urllib3/packages/rfc3986/exceptions.pyRs(RRRR(((sN/tmp/pip-install-ewDPok/pip/pip/_vendor/urllib3/packages/rfc3986/exceptions.pyRstResolutionErrorcBseZdZd�ZRS(s1Exception to indicate a failure to resolve a URI.cCs)tt|�jdj|j���dS(s)Initialize the error with the failed URI.s{0} is not an absolute URI.N(RRRRtunsplit(R
turi((sN/tmp/pip-install-ewDPok/pip/pip/_vendor/urllib3/packages/rfc3986/exceptions.pyR#s(RRRR(((sN/tmp/pip-install-ewDPok/pip/pip/_vendor/urllib3/packages/rfc3986/exceptions.pyR stValidationErrorcBseZdZRS(s,Exception raised during Validation of a URI.(RRR(((sN/tmp/pip-install-ewDPok/pip/pip/_vendor/urllib3/packages/rfc3986/exceptions.pyR)stMissingComponentErrorcBseZdZd�ZRS(s6Exception raised when a required component is missing.cGszd}t|�dkr!d}n||_t|�|_dj|j�}tt|�jdj||�||j�dS(s5Initialize the error with the missing component name.twasitweres, s{} {} required but missingN(	tlenRtsortedt
componentstjoinRRRR(R
Rtcomponent_namestverbR((sN/tmp/pip-install-ewDPok/pip/pip/_vendor/urllib3/packages/rfc3986/exceptions.pyR2s		(RRRR(((sN/tmp/pip-install-ewDPok/pip/pip/_vendor/urllib3/packages/rfc3986/exceptions.pyR/stUnpermittedComponentErrorcBseZdZd�ZRS(s;Exception raised when a component has an unpermitted value.cCsYtt|�jdj|tt|��|�|||�||_||_||_dS(s4Initialize the error with the unpermitted component.s.{} was required to be one of {!r} but was {!r}N(	RRRRtlistRtcomponent_nametcomponent_valuetallowed_values(R
RRR((sN/tmp/pip-install-ewDPok/pip/pip/_vendor/urllib3/packages/rfc3986/exceptions.pyREs		(RRRR(((sN/tmp/pip-install-ewDPok/pip/pip/_vendor/urllib3/packages/rfc3986/exceptions.pyRBstPasswordForbiddencBseZdZd�ZRS(sCException raised when a URL has a password in the userinfo section.csJt�d�fd��}tt|�jdj|����|_dS(s9Initialize the error with the URI that failed validation.Rcs�S(N(((R(sN/tmp/pip-install-ewDPok/pip/pip/_vendor/urllib3/packages/rfc3986/exceptions.pyt<lambda>Yss4"{}" contained a password when validation forbade itN(tgetattrRR RRR(R
RR((RsN/tmp/pip-install-ewDPok/pip/pip/_vendor/urllib3/packages/rfc3986/exceptions.pyRWs

(RRRR(((sN/tmp/pip-install-ewDPok/pip/pip/_vendor/urllib3/packages/rfc3986/exceptions.pyR TstInvalidComponentsErrorcBseZdZd�ZRS(s9Exception raised when one or more components are invalid.cGszd}t|�dkr!d}n||_t|�|_dj|j�}tt|�jdj||�||j�dS(s8Initialize the error with the invalid component name(s).RiRs, s{} {} found to be invalidN(	RRRRRRR#RR(R
RRRR((sN/tmp/pip-install-ewDPok/pip/pip/_vendor/urllib3/packages/rfc3986/exceptions.pyRes		(RRRR(((sN/tmp/pip-install-ewDPok/pip/pip/_vendor/urllib3/packages/rfc3986/exceptions.pyR#bstMissingDependencyErrorcBseZdZRS(sBException raised when an IRI is encoded without the 'idna' module.(RRR(((sN/tmp/pip-install-ewDPok/pip/pip/_vendor/urllib3/packages/rfc3986/exceptions.pyR$usN(RtRt	ExceptionRRRRRRRR R#R$(((sN/tmp/pip-install-ewDPok/pip/pip/_vendor/urllib3/packages/rfc3986/exceptions.pyt<module>s