ok
Direktori : /opt/alt/python37/lib/python3.7/site-packages/cllimits/lib/__pycache__/ |
Current File : //opt/alt/python37/lib/python3.7/site-packages/cllimits/lib/__pycache__/utils.cpython-37.pyc |
B F�sdE � @ s� d dl mZ d dl mZ d dl mZ d dlZd dlZd dlZd dlZd dlm Z m Z dZdd� Zd d � Z dd� Zddd�Zddd�Zddd�Zdd� Zdd� ZdS )� )�print_function)�absolute_import)�divisionN)�run_command�ExternalProgramFailedzAvailable values for optionc C sh | � d�r,| �dd�\}}d| d|id�S | � t�r\| �dd�\}}d| d |�� id�S d | iS dS )zu Replacing params in data for show error message :param data: error's data for show message :return: z--� � z %%(param)s %s�param)�result�context�:z%s: %%(available_options)sZavailable_optionsr N)� startswith�split� VALUES_STR�strip)�datar �text� r �C/opt/alt/python37/lib/python3.7/site-packages/cllimits/lib/utils.py�replace_params s r c C s&