KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /proc/21573/root/usr/lib/python2.4/site-packages/dogtail/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/21573/root/usr/lib/python2.4/site-packages/dogtail/dump.pyc
mò
83Dc@sYdZdZdkZdkZd„ZeieieƒdZdd„Zd„ZdS(s^Utility functions for 'dumping' trees of Node objects.

Author: Zack Cerza <zcerza@redhat.com>sZack Cerza <zcerza@redhat.com>NcCstidƒdS(Ni(tsystexit(tsignaltframe((t0/usr/lib/python2.4/site-packages/dogtail/dump.pyt
signalHandler	st icCs›t|t|ƒGHy/x(|iD]}t|dt|ƒGHq WWntj
onXy)x"|iD]}t	||dƒqeWWntj
onXdS(s›
    Plain-text dump. The hierarchy is represented through indentation.
    The default indentation string is a single space, ' ', but can be changed.
    iN(
tspacertdepthtstrtnodetactionstactiontAttributeErrortchildrentchildtplain(R
RRR((RRs

csy
dk‰Wn tj
odkl‰nX‡‡d†‰ˆidƒ}|}ˆ||ƒˆi|ƒ}ˆi
|ƒdS(N(sElementTreecs}ˆi|dƒ}ˆi|dƒ}
|i|
_ˆi|dƒ}|i|_ˆi|dƒ}|i|_y"ˆi|dƒ}|i|_Wnt	j
onXy„x}|i
D]r}ˆi|dƒ}ˆi|dƒ}
|i|
_ˆi|dƒ}|i|_ˆi|dƒ}	|i
|	_q±WWnt	j
onXy%x|iD]}ˆ||ƒqKWWnt	j
onXdS(NR
tnametroleNametdescriptionttextRt
keyBinding(tElementTreet
SubElementt
parentElementtelementRR
RRRR
RRt
actionElementRRRtbuildElementTree(RR
RRRRRRRRR(RR(RR s<

R
(tcElementTreeRtImportErrortelementtreeRtElementtrootRR
ttreetdump(R
R!RRRR ((RRRtxmls

(	t__doc__t
__author__RRRtSIGINTRRR#(R#RRR%RRR((Rt?s	

Anon7 - 2021