HEX
Server: Apache
System: Linux msm5694.mjhst.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: camjab_ssh (1000)
PHP: 5.3.29
Disabled: NONE
Upload Files
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