Sh3ll
OdayForums


Server : Apache
System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
User : nobody ( 99)
PHP Version : 8.1.23
Disable Function : NONE
Directory :  /lib/python2.7/site-packages/iniparse/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python2.7/site-packages/iniparse/utils.pyc
�
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	

ZeroDay Forums Mini