| Server IP : 54.37.205.81 / Your IP : 216.73.216.76 Web Server : nginx/1.22.1 System : Linux vps-249481fa 6.1.0-50-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.176-1 (2026-07-02) x86_64 User : debian ( 1000) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/numpy/distutils/__pycache__/ |
Upload File : |
�
���c� � � � d Z ddlZddlZddlZd� Zd� Zd� Zd� Zd� Zd� Z e
d k r eej d
� � dS dS )z9 Functions for converting from DOS to UNIX line endings
� Nc � � t j � | � � rt | d� � dS t | d� � 5 }|� � � }ddd� � n# 1 swxY w Y d|v rt | d� � dS t
j dd|� � }||k rOt d| � � t | d � � 5 }|� |� � ddd� � n# 1 swxY w Y | S t | d
� � dS )zFReplace CRLF with LF in argument files. Print names of changed files.�
Directory!N�rb� �Binary!�
�
z dos2unix:�wb�ok� �os�path�isdir�print�open�read�re�sub�write��file�fp�data�newdata�fs �>/usr/lib/python3/dist-packages/numpy/distutils/line_endings.py�dos2unixr su � � �w�}�}�T��� �
�d�L�!�!�!���
�d�D� � � �R��w�w�y�y��� � � � � � � � � � ���� � � � ��t�|�|�
�d�I�������f�V�T�4�(�(�G��$���
�k�4� � � �
�$��
�
� ��
�G�G�G���� � � � � � � � � � � ���� � � � ���
�d�D�����s$ �A#�#A'�*A'� C"�"C&�)C&c � � |D ]H}t j � ||� � }t |� � }|�| � |� � �Id S �N)r
r �joinr �append��modified_files�dir_name�
file_namesr � full_paths r �dos2unix_one_dirr'