HEX
Server: Apache/2.4.6 () OpenSSL/1.0.2k-fips PHP/8.3.8
System: Linux gateway.rmc-logistics.net 4.1.12-124.48.6.el7uek.x86_64 #2 SMP Tue Mar 16 14:57:50 PDT 2021 x86_64
User: apache (48)
PHP: 8.3.8
Disabled: NONE
Upload Files
File: //lib/python2.7/site-packages/iniparse/utils.pyo
�
J��Kc@s8ddlZddlmZmZd�Zd�ZdS(i����N(t
LineContainert	EmptyLinecCs	t|tj�r|j}n|jj}d}x�|t|�kr�t||t�rst||�|d7}q3t||dt	�r�t||t	�r�||=q3|d7}q3W|r�t|dt	�r�|d=n|rt|dt	�r|j
t	��ndS(s�Clean up blank lines.

    This functions makes the configuration look clean and
    handwritten - consecutive empty lines and empty lines at
    the start of the file are removed, and one is guaranteed
    to be at the end of the file.
    iii����N(t
isinstancetcompattRawConfigParsertdatat_datatcontentstlenRttidy_sectionRtappend(tcfgtcontti((s2/usr/lib/python2.7/site-packages/iniparse/utils.pyttidys 	


cCs�|j}d}xT|t|�kret||dt�rXt||t�rX||=q|d7}qWt|�dkr�t|dt�r�|d=ndS(Ni(RRRR(tlcRR
((s2/usr/lib/python2.7/site-packages/iniparse/utils.pyR	#s	
%(RtiniRRRR	(((s2/usr/lib/python2.7/site-packages/iniparse/utils.pyt<module>s