| Server IP : 85.155.190.233 / Your IP : 216.73.216.103 Web Server : nginx/1.24.0 System : Linux antigravity-cli 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64 User : wp-moonbloom ( 1001) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/gyp/__pycache__/ |
Upload File : |
�
�"Kbu � �6 � d Z ddlZdd�Zdd�Z G d� de� Zy) z�Applies a fix to CR LF TAB handling in xml.dom.
Fixes this: http://code.google.com/p/chromium/issues/detail?id=76293
Working around this: http://bugs.python.org/issue5752
TODO(bradnelson): Consider dropping this when we drop XP support.
� Nc � � |j dd� j dd� }|j dd� j dd� }|r2|j d d
� j dd� j d
d� }| j |� y)zWrites datachars to writer.�&z&�<z<�"z"�>z>�
z
�
z
� z	N)�replace�write)�writer�data� is_attribs �-/usr/lib/python3/dist-packages/gyp/xml_fix.py�_Replacement_write_datar s� � �
���c�7� #� +� +�C�� 8�$�
���d�H� %� -� -�c�6� :�$���<�<��g���w��g���w��g�� � �,�,�t�� c �& � |j |dz | j z � | j � }t |j � � }|D ]B }|j d|z � t ||| j d�� |j d� �D | j r`|j d|z � | j D ] }|j |||z ||� � |j |�d| j �d|��� y |j d |z � y )
Nr z %s="T)r r z>%sz</r z/>%s) r �tagName�_get_attributes�sorted�keysr �value�
childNodes�writexml) �selfr
�indent� addindent�newl�attrs�a_names�a_name�nodes r �_Replacement_writexmlr# s� � � �,�,�v�c�z�D�L�L�(�)�
�
�
�
�%��5�:�:�<� �'�� �f�
�L�L��F�"�#��F�E�&�M�$7�$7�4�H�
�L�L����
�_�_�
�L�L�������� A��
�m�m�F�F�Y�.� �4�@�A�
�L�L�����d�;�<�
�L�L��$��r c �"