MINI MINI MANI MO

Path : /lib/python2.7/site-packages/iniparse/
File Upload :
Current 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	

OHA YOOOO