Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/awscli/__pycache__/ |
Upload File : |
o 2&�aV$ � @ s d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlmZ d dlm Z d dlm Z dd� Zdd� Zd(d d�Z dd � Zdd� Zdd� Zdd� Zdd� Zdd� Zejdd� �Zdd� Zdd� ZG dd� de�Zd d!� ZG d"d#� d#e�ZG d$d%� d%e�ZG d&d'� d'e�ZdS ))� N)�six��get_binary_stdout)�get_popen_kwargs_for_pager_cmdc sZ t � fdd�dD ��s� �d�S t � fdd�dD ��s)ttjt�� �dd��d S t� �S ) Nc 3 � � | ]}|� v V qd S �N� ��.0�char��valuer �./usr/lib/python3/dist-packages/awscli/utils.py� <genexpr> � � z"split_on_commas.<locals>.<genexpr>)�"�\�'�]�[�,c 3 r r r r r r r r r )r r r r r �� escapecharr )�any�split�list�csv�readerr �StringIO�_split_with_quotesr r r r �split_on_commas s r c C s< zt tjt�| �dd��d }W n tjy td| ��w t|�}g }|D ]t}t|�}|� d�}|dkrs| � d�dkrs|d u sH|� |�|krsd|v rO|}nt | ||d�}t||d d� �}|d |d � d �|� }|� |� q'|d u r}|� |� q'|�|�dkr�|� |�|d�� q't | ||||�}|� |� q'|S )Nr r r zBad csv value: %sz=[r ���� � r � )r r r r r �Error� ValueError�iter�_find_quote_char_in_part�find� _eat_itemsr �join�append�count�replace) r �parts� iter_parts� new_parts�part� quote_char� list_start� new_chunk� list_itemsr r r r '