| Server IP : 162.144.4.212 / Your IP : 216.73.216.108 Web Server : Apache System : Linux gator2125.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64 User : cozeellc ( 2980) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.9/site-packages/virtualenv/activation/__pycache__/ |
Upload File : |
a
��:i$ � @ s� d dl Z d dlZd dlZd dlmZmZ ddlmZ ejdkr^d dl m
Z
eeed�dd �Z
nd d
l m
Z
G dd� deed
�ZdgZdS )� N)�ABCMeta�abstractmethod� )� Activator)� �
)�files)�module_name�filename�returnc C s t | �| �� S �N)r �
read_bytes)r r
� r �F/usr/lib/python3.9/site-packages/virtualenv/activation/via_template.py�read_binary s r )r c @ sX e Zd Zedd� �Zedd� �Zdd� Zdd� Zd d
� Z dd� Z
d
d� Zedd� �ZdS )�ViaTemplateActivatorc C s t �d S r )�NotImplementedError)�selfr r r � templates s zViaTemplateActivator.templatesc C s
t �| �S )z�
Quote strings in the activation script.
:param string: the string to quote
:return: quoted string that works in the activation script
)�shlex�quote)�stringr r r r s zViaTemplateActivator.quotec C s@ |j }| �||�}| �|| �� ||�}| jd ur<| j|jd<