OwlCyberSecurity - MANAGER
Edit File: via_template.cpython-312.pyc
� ^��g� � � � d dl mZ d dlZd dlZd dlZd dlmZmZ ddlm Z ej dk\ rd dlmZ dd�Z nd d lm Z G d � de e� ZdgZy) � )�annotationsN)�ABC�abstractmethod� )� Activator)� � )�filesc �: � t | � |z j � S �N)r � read_bytes)�module_name�filenames �Q/opt/hc_python/lib/python3.12/site-packages/virtualenv/activation/via_template.py�read_binaryr s � ��k�"�X�-�9�9�;�;� )r c �Z � e Zd Zed� � Zed� � Zd� Zd� Zd� Z d� Z d� Zed� � Zy ) �ViaTemplateActivatorc � � t �r )�NotImplementedError)�selfs r � templateszViaTemplateActivator.templates s � �!�!r c �, � t j | � 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)�strings r r zViaTemplateActivator.quote s � � �{�{�6�"�"r c �� � |j }| j ||� }| j || j � ||� }| j �| j |j d<