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/21571/root/usr/share/xml2po/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/21571/root/usr/share/xml2po/docbook.pyc
mς
v|ŸEc@s»dkZdkZdkZdkZdkZdfd„ƒYZedjojeƒZdeei	ƒƒGHdeei
ƒƒGHdeeiƒƒGHdeiƒGHdei
ƒGHndS(	NtdocbookXmlModecBsztZdZd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d	„Zd
„Zd„Z
d„ZRS(
s™Class for special handling of DocBook document types.

    It sets lang attribute on article elements, and adds translators
    to articleinfo/copyright.cCs:dddddddg|_dd	d
ddg|_dS(
Ntitemizedlisttorderedlisttvariablelistt
segmentedlistt
simplelisttcalloutlisttvarlistentrytfiguret
textobjecttimageobjecttmediaobjectt
screenshot(tselftliststobjects(R
((t/usr/share/xml2po/docbook.pyt__init__/scCs|i|iS(s$Returns array of tags to be ignored.N(R
RR(R
((RtgetIgnoredTags5sc	Cs-ddddddddd	g	|i|iS(s/Returns array of tags to be considered 'final'.tparat
formalparatsimparatreleaseinfot	revnumberttitletdatettermtprogramlistingN(R
RR(R
((RtgetFinalTags9scCsddddddddgS(
s:Returns array of tags in which spaces are to be preserved.tclasssynopsisinfotcomputeroutputtfuncsynopsisinfot
literallayoutRtscreentsynopsist	userinputN((R
((RtgetSpacePreserveTags?scCsdS(s8Returns string which will be used to credit translators.stranslator-creditsN((R
((RtgetStringForTranslatorsLscCsdS(sGReturns a comment to be added next to string for crediting translators.sGPut one translator per line, in the form of NAME <EMAIL>, YEAR1, YEAR2.N((R
((RtgetCommentForTranslatorsPscCsk|idjp|idjo|Sn|i}x3|o+|i|ƒ}|o|Sn|i}q4WdS(Ntarticleinfotbookinfo(	tnodetnametchildrentchildR
t_find_articleinfotrettnexttNone(R
R)R.R,((RR-Ts 	cCs[|ipdSn|iƒ}|}x0|o(|idjo|}Pn|i}q'W|S(Nt	copyright(R)R+R0t	lastChildtlastttmpR*tprev(R
R)R4R3((Rt_find_lastcopyright_s
cCsitiƒ}t|dƒ}|idƒ}x(|o |i|ƒ|idƒ}q-W|iƒ|i	ƒS(Ntrbi(
tmd5tnewthashtopentfilenametinputtreadtupdatetcloset	hexdigest(R
R<R:R>R=((Rt
_md5_for_fileks

cCs|oΜ|idjoΌ|idjo¬|idƒ}|o’tii|i	ƒ}tii||ƒ}tii
|ƒo|i|ƒ}nd}tid|IJ|id||f|iƒddƒqnG|o?|io5|i}x)|o|i||ƒ|i}qπWndS(	Ntelementt	imagedatatfilerefsTHIS FILE DOESN'T EXISTs#Warning: image file '%s' not found.s@@image: '%s'; md5=%ssOWhen image changes, this message will be marked fuzzy or untranslated for you.
sAIt doesn't matter what you translate it to: it's not used at all.(R)ttypeR*tproptattrtostpathtdirnametmsgR<tdirtjointfullpathtexistsR
RBR:tsyststderrt
outputMessagetlineNoR+R,t_output_imagesR/(R
R)RLR:RHR,RORM((RRUus"'	cCs |iƒ}|i||ƒdS(s)Add additional messages of interest here.N(tdoctgetRootElementtrootR
RURL(R
RVRLRX((Rt
preProcessXmlŒscCs>|iƒ}
x5|
o-|
idjo|
idjo
|
i}
qW|
o4|
idjp|
idjo|
id|ƒndS||i	ƒjodSn|o•|i
|
ƒ}|pdSn|idƒ}xe|D]Y}|iƒ}tid|ƒ}|o.|i|ƒ}tidƒ}	|o|i|	ƒ}	n|i|	ƒ|idƒo)|	idd	|idƒid
ƒƒn|idƒo4|idƒo$|idƒd
|idƒ}nM|idƒo|idƒ}n*|idƒo|idƒ}nd}|	idd|id
ƒƒqΩqΩWndS(s΅Sets a language and translators in "doc" tree.
        
        "translators" is a string consisted of "Name <email>, years" pairs
        of each translator, separated by newlines.tarticletbooktlangNs
s$^([^<,]+)\s*(?:<([^>,]+)>)?,\s*(.*)$R1ityearsutf-8iis(%s)s???tholder(RVRWRXR*R/tsetProptlanguagettranslatorsR
R%R-taitsplittlinestlinetstriptretmatchR6R3tlibxml2tnewNodetcopytaddNextSiblingtaddChildtgrouptnewChildR0tencodeR^(R
RVR`RaR^R3RbRdReRkRXRh((RtpostProcessXmlTranslation‘sF''
) $(t__name__t
__module__t__doc__RRRR$R%R&R-R6RBRURYRq(((RR*s				
					
		t__main__sIgnored tags       : sFinal tags         : sSpace-preserve tags: sCredits from string: '%s'sExplanation for credits:
	'%s'(RgRiRIR8RQRRrttesttreprRRR$R%R&(RiRQRgRRvRIR8((Rt?$s					—
	

Anon7 - 2021