Server IP : 23.254.227.96 / Your IP : 216.73.216.46 Web Server : Apache/2.4.62 (Unix) OpenSSL/1.1.1k System : Linux hwsrv-1277026.hostwindsdns.com 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Tue May 30 14:53:41 EDT 2023 x86_64 User : viralblo ( 1001) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3.6/site-packages/pip/vcs/__pycache__/ |
Upload File : |
3 )�]b� � @ s� d dl mZ d dlZd dlZd dlZyd dlmZ W n ek rP d dl ZY nX d dl mZmZ d dl mZmZ d dlmZ eje�ZG dd� de�Zeje� dS ) � )�absolute_importN)�parse)�rmtree�display_path)�vcs�VersionControl)�path_to_urlc sz e Zd ZdZdZdZdZd � fdd� Zd d� Zdd� Z dd� Z dd� Z� fdd�Zdd� Z dd� Zdd� Zdd� Z� ZS )!�Bazaar�bzrz.bzr�branch�bzr+http� bzr+https�bzr+ssh�bzr+sftp�bzr+ftp�bzr+lpNc sD t t| �j|f|�|� ttdd �r@tjjdg� tjjdg� d S )N� uses_fragmentZlp)�superr �__init__�getattr�urllib_parser �extendZnon_hierarchical)�self�url�args�kwargs)� __class__� �/usr/lib/python3.6/bazaar.pyr s zBazaar.__init__c C sR t jdd�}| j|� tjj|�r*t|� z| jd|g|dd� W dt|� X dS )zU Export the Bazaar repository at the url to the destination location z-exportzpip-�exportF)�cwd�show_stdoutN)�tempfileZmkdtemp�unpack�os�path�existsr �run_command)r �locationZtemp_dirr r r r &