add-determinism 0.7.3

RPM buildroot helper to strip nondeterministic bits in files
Documentation
B

�/g^#c@s�dZddlZddlZddlmZddd�Zdd	d
�ZGdd�dej�ZGd
d�dej�ZGdd�dej	�Z	Gdd�deej
�Z
Gdd�deej�Zdd�ZdS)aPython 'uu_codec' Codec - UU content transfer encoding.

This codec de/encodes from bytes to bytes.

Written by Marc-Andre Lemburg (mal@lemburg.com). Some details were
adapted from uu.py which was written by Lance Ellinghouse and
modified by Jack Jansen and Fredrik Lundh.
�N)�BytesIO�strict�<data>�c	Cs�|dkst�t|�}t�}|j}|j}|�dd�}|�dd�}|d|d@|f�d��|d	�}x|r~|t�|��|d	�}qbW|d
�|��t	|�fS)NrZ
z\nz
z\rzbegin %o %s
i�Zasciii-s 
end
)
�AssertionErrorr�read�writeZreplace�encode�binasciiZb2a_uu�getvalue�len)	�input�errorsZfilenameZmode�infile�outfilerrZchunk�r�*/usr/lib64/python3.7/encodings/uu_codec.py�	uu_encodesrc

Cs�|dkst�t|�}t�}|j}|j}x(|�}|s:td��|dd�dkr(Pq(Wx�|�}|rd|dkrfPyt�|�}WnRtjk
r�}z2|ddd@d	dd
}	t�|d|	��}Wdd}~XYnX||�qRW|s�td��|��t	|�fS)Nrz"Missing "begin" line in input dataisbeginsend
ri i?iizTruncated input data)
rr�readlinerZ
ValueErrorr	Za2b_uuZErrorr
r)
rr
rrrrZsZdataZvZnbytesrrr�	uu_decode%s0$rc@s eZdZddd�Zddd�ZdS)	�CodecrcC�
t||�S�N)r��selfrr
rrrrG�zCodec.encodecCrr)rrrrr�decodeJrzCodec.decodeN�rr)�__name__�
__module__�__qualname__rrrrrrrFs
rc@�eZdZddd�ZdS)�IncrementalEncoderFcC�t||j�dS�Nr)rr
�rrZfinalrrrrNrzIncrementalEncoder.encodeN�F)rrrrrrrrr!M�r!c@r )�IncrementalDecoderFcCr"r#)rr
r$rrrrRrzIncrementalDecoder.decodeNr%)rrrrrrrrr'Qr&r'c@�eZdZeZdS)�StreamWriterN�rrrZbytesZcharbuffertyperrrrr)Ur&r)c@r()�StreamReaderNr*rrrrr+Xr&r+c
Cstjdttttttdd�S)NZuuF)ZnamerrZincrementalencoderZincrementaldecoderZstreamreaderZstreamwriterZ_is_text_encoding)�codecsZ	CodecInforrr!r'r+r)rrrr�getregentry]sr-)rrrr)
Z__doc__r,r	Ziorrrrr!r'r)r+r-rrrrZ<module>s

!