�`^c@shddlZddlmZdZedZedZdefd��YZdd �Z dd
�Z
dS(i�Ni(tElementTrees!{http://www.w3.org/2001/XInclude}tincludetfallbacktFatalIncludeErrorcBseZRS((t__name__t
__module__(((s./sys/lib/python2.7/xml/etree/ElementInclude.pyR>scCsat|��}|dkr3tj|�j�}n$|j�}|rW|j|�}nWdQX|S(Ntxml(topenRtparsetgetroottreadtdecode(threfRtencodingtfiletdata((s./sys/lib/python2.7/xml/etree/ElementInclude.pytdefault_loaderMscCs�|dkrt}nd}x�|t|�kr�|}|jtkr�|jd�}|jdd�}|dkr�||�}|dkr�td||f��ntj|�}|jr�|jp�d|j|_n|||<q�dkr�||||jd��}|dkr7td||f��n|rq||d }|jpWd||jpgd|_n#|j p}d||jp�d|_ ||=qq�d
|��n2|jt
kr�td|j��n
t||�|d }qWdS(NiRRRscannot load %r as %rtttextR
is)unknown parse type in xi:include tag (%r)s0xi:fallback tag must be child of xi:include (%r)(tNoneRtlenttagtXINCLUDE_INCLUDEtgetRtcopyttailRtXINCLUDE_FALLBACKR(telemtloadertiteRRtnodeR((s./sys/lib/python2.7/xml/etree/ElementInclude.pyRbsF
&#
(RRRtXINCLUDERRtSyntaxErrorRRRR(((s./sys/lib/python2.7/xml/etree/ElementInclude.pyt<module>3s
|