ok

Mini Shell

Direktori : /proc/self/root/proc/self/root/usr/lib/python2.7/site-packages/clcommon/
Upload File :
Current File : //proc/self/root/proc/self/root/usr/lib/python2.7/site-packages/clcommon/clconfpars.pyc

�
b=0Yc@sbddlZddlZdZdefd��YZed�ZiZed�Zdd�Z
dS(i����NtasectiontFakeSecHeadcBseZd�Zd�ZRS(cCs||_dtd|_dS(Nt[s]
(tfptSECHEADtsechead(tselfR((s7/usr/lib/python2.7/site-packages/clcommon/clconfpars.pyt__init__s	cCs5|jr$z|jSWdd|_Xn
|jj�SdS(N(RtNoneRtreadline(R((s7/usr/lib/python2.7/site-packages/clcommon/clconfpars.pyR	s
	
(t__name__t
__module__RR	(((s7/usr/lib/python2.7/site-packages/clcommon/clconfpars.pyR
s	cCsVtj�}|rt|_n|jdtt|��d|�t|jdt��S(NRtfilenametsection(	tConfigParsertstrtoptionxformtreadfpRtopentdicttitemsR(tpathtcase_sensitivetconfig((s7/usr/lib/python2.7/site-packages/clcommon/clconfpars.pytloads
"cCsuyt|}Wn`tk
rpyt|�}t|<Wqqttjfk
rl|s[�ni}t|<qqXnX|S(sD
    Read ini file once (cached) and return its content as dict
    (tcachetKeyErrorRtIOErrorRtError(Rt
ignore_errorstres((s7/usr/lib/python2.7/site-packages/clcommon/clconfpars.pyt	load_once!s
c
CsQ|s|d}nt|d�}t|d�}g}x�|D]�}|j�}|r�|jd�r�|jdd�\}}	|j�}||kr�|j|dt||�d�|j|�q>q�n|j|�q>W|j�xF|j�D]8}||kr�|j|dt||�d�q�q�W|j�t	j
||�dS(Ns.tmptrtwt#t=is
(Rtstript
startswithtsplittwriteRtappendtclosetkeystostrename(
RRttmp_pathtfintfoutt	used_keystlinetltkeytvalue((s7/usr/lib/python2.7/site-packages/clcommon/clconfpars.pytchange_settings1s*

#
	
*
(RR+RtobjectRtFalseRRRRR5(((s7/usr/lib/python2.7/site-packages/clcommon/clconfpars.pyt<module>s


Zerion Mini Shell 1.0