Your IP : 3.139.104.140


Current Path : /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/network/
Upload File :
Current File : //opt/alt/python27/lib/python2.7/site-packages/pip/_internal/network/xmlrpc.pyc

�
�Rec@s�dZddlZddlmZddlmZddlmZddl	m
Z
ddlmZer�ddl
mZdd	lmZneje�Zd
ejfd��YZdS(s#xmlrpclib.Transport implementation
i����N(t
xmlrpc_client(tparse(tNetworkConnectionError(traise_for_status(tMYPY_CHECK_RUNNING(tDict(t
PipSessiontPipXmlrpcTransportcBs&eZdZed�Zed�ZRS(sRProvide a `xmlrpclib.Transport` implementation via a `PipSession`
    object.
    cCs;tjj||�tj|�}|j|_||_dS(N(Rt	Transportt__init__turllib_parseturlparsetschemet_schemet_session(tselft	index_urltsessiontuse_datetimetindex_parts((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/network/xmlrpc.pyR	sc
Cs�|j||dddf}tj|�}yXidd6}|jj|d|d|dt�}t|�||_|j	|j
�SWn>tk
r�}	|	js�t
�tjd|	jj|��nXdS(Nstext/xmlsContent-TypetdatatheaderststreamsHTTP error %s while getting %s(R
tNoneR
t
urlunparseRtposttTrueRtverbosetparse_responsetrawRtresponsetAssertionErrortloggertcriticaltstatus_code(
Rthostthandlertrequest_bodyRtpartsturlRRtexc((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/network/xmlrpc.pytrequest#s

	(t__name__t
__module__t__doc__tFalseR	R)(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/network/xmlrpc.pyRs(R,tloggingtpip._vendor.six.movesRtpip._vendor.six.moves.urllibRR
tpip._internal.exceptionsRtpip._internal.network.utilsRtpip._internal.utils.typingRttypingRtpip._internal.network.sessionRt	getLoggerR*R RR(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/network/xmlrpc.pyt<module>s

?>