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/22697/root/usr/lib64/python2.4/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/22697/root/usr/lib64/python2.4/webbrowser.pyo
mò
‚=5Dc
@s©dZdkZdkZddddgZdefd„ƒYZhZgZdd„Z	dd„Z
d	d
d„Zd„Zd
„Z
d„ZdZdfd„ƒYZdfd„ƒYZdfd„ƒYZdfd„ƒYZdfd„ƒYZdfd„ƒYZeii
dƒpeii
dƒoddd gZeii
dƒoyedƒoe	dded!ƒƒnedƒoe	dded"ƒƒned ƒoe	d ded#ƒƒqÇneii
dƒoRd$d%d&d'd(d)d*d+d,d-g
eZed$ƒoe	d$ded.ƒƒnx5d@D]-Zeeƒoe	edeeƒƒq0q0Wed/ƒoe	d/ded0ƒƒned&ƒoe	d&ded&ƒƒned'ƒoe	d'ded1ƒƒned,ƒp
ed2ƒoe	d,eeƒƒned-ƒoe	d-edƒq,q0nd3fd4„ƒYZeid5 d6jod+d7gZe	d7eƒny
dkZWnej
onXd8gZe	d8eƒeid5 d9jo0ed:ƒo#d;gZe	d;ded<ƒƒnd=eijo$eid=ieiƒed	d	+nxbeD]ZZeiƒejoAeeiƒƒo*e	eiƒded>eiƒƒƒq†q,q,WdZ[e d?„eƒZdS(As?Interfaces for launching and remotely controlling Web browsers.NtErrortopentgettregistercBstZRS(N(t__name__t
__module__(((t"/usr/lib64/python2.4/webbrowser.pyRscCs||gt|iƒ<dS(s9Register a browser connector and, optionally, connection.N(tklasstinstancet	_browserstnametlower(R
RR((RRscCsº|dj	o
|g}nt}x‡|D]}d|jot|ƒSq'yt|iƒ}Wnt	j
ot
|ƒ}nX|ddjo|dƒSq'|dSq'Wtdƒ‚dS(sCReturn a browser launcher instance appropriate for the environment.s%siis!could not locate runnable browserN(tusingtNonetalternativest	_tryordertbrowsertGenericBrowserR	RtcommandtKeyErrort_synthesizeR(RRRR((RRs 


iicCstƒi|||ƒdS(N(RRturltnewt	autoraise(RRR((RR*scCstƒi|dƒdS(Ni(RRR(R((Rtopen_new-scCsìtii|ƒpddgSntii|ƒ}yt|iƒ}Wnt
j
oddgSnX|d}|oj|iƒ|ijoTdk}|i|ƒ}||_tii|ƒ|_t
|d|ƒd|gSnddgS(s¾Attempt to synthesize a controller base on existing controllers.

    This is useful to create a controller when a user specifies a path to
    an entry in the BROWSER environment variable -- we can copy a general
    controller to operate using a specific installation of the desired
    browser in this way.

    If we can't create a controller in this way, or if there is no
    executable for the requested browser, return [None, None].

    iN(tostpathtexistsRR
tbasenameR
R	RRRt
controllertcopyR(RR
RRR((RR1s"
		cCsrtiidƒ}|ptSnxJ|itiƒD]6}tii||ƒ}tii|ƒotSq4q4WtS(s>Return True if cmd can be found on the executable search path.tPATHN(
RtenvironRRtFalsetsplittpathseptdtjointcmdtexetisfiletTrue(R&R'R$R((Rt
_iscommandPsiRcBs)tZd„Zddd„Zd„ZRS(NcCs:|iddƒ\|_|_tii|iƒ|_dS(Ni(	R&R"R
tselfR
targsRRR(R+R&((Rt__init__`siicCs+d|i|if}ti||ƒdS(Ns%s %s(R+R
R,RRtsystemR(R+RRRR((RRdscCs|i|ƒdS(N(R+RR(R+R((RRis(RRR-RR(((RR_s	tNetscapecBs8tZdZd„Zd„Zddd„Zd„ZRS(s%Launcher class for Netscape browsers.cCs"||_tii|ƒ|_dS(N(R
R+RRR(R+R
((RR-os	cCsxd|}d|i||f}ti|ƒ}|o=dk	}tid|iƒ|i
tƒti|ƒ}n|S(Ns-noraises-raises"%s %s -remote '%s' >/dev/null 2>&1s%s &(s-noraises-raise(Rt	raise_optR+R
tactionR&RR.trcttimetsleeptPROCESS_CREATION_DELAY(R+R1RR&R0R3R2((Rt_remotess
	
iicCs7|o|id||ƒn|id||ƒdS(NsopenURL(%s,new-window)sopenURL(%s)(RR+R6RR(R+RRR((RR€scCs|i|dƒdS(Ni(R+RR(R+R((RR†s(RRt__doc__R-R6RR(((RR/ms
		
tGaleoncBs8tZdZd„Zd„Zddd„Zd„ZRS(s#Launcher class for Galeon browsers.cCs"||_tii|ƒ|_dS(N(R
R+RRR(R+R
((RR-Œs	cCsxd|}d|i||f}ti|ƒ}|o=dk	}tid|iƒ|i
tƒti|ƒ}n|S(Ns	--noraisets%s %s %s >/dev/null 2>&1s%s >/dev/null 2>&1 &(s	--noraiseR9(RR0R+R
R1R&RR.R2R3R4R5(R+R1RR&R0R3R2((RR6s
	
iicCs7|o|id||ƒn|id||ƒdS(Ns-w '%s's-n '%s'(RR+R6RR(R+RRR((RR›scCs|i|dƒdS(Ni(R+RR(R+R((RR¡s(RRR7R-R6RR(((RR8Šs
		t	KonquerorcBs5tZdZd„Zd„Zddd„ZeZRS(sÇController for the KDE File Manager (kfm, or Konqueror).

    See http://developer.kde.org/documentation/other/kfmclient.html
    for more information on the Konqueror remote-control interface.

    cCs5tdƒod|_|_nd|_|_dS(Nt	konquerortkfm(R*R+R
R(R+((RR-¬s
cCsŠd|}ti|ƒ}|oedk}|idjoti|idƒnti|idƒ|i	t
ƒti|ƒ}n|S(Nskfmclient %s >/dev/null 2>&1R;s --silent &s -d &(R1R&RR.R2R3R+RR
R4R5(R+R1R&R2R3((RR6²s
	
icCs|id|ƒdS(NsopenURL '%s'(R+R6R(R+RRR((RR¿s(RRR7R-R6RR(((RR:¥s
		
tGrailcBs2tZd„Zd„Zddd„Zd„ZRS(NcCsdk}	dk}dk}dk}tii|iƒdƒ}|i	ti
ƒƒd}tii||dƒ}|	i|ƒ}|pdSn|i|i|iƒ}xc|D][}
y|i|
ƒWn=|ij
o.yti|
ƒWq	tj
oq	Xq®X|Sq®WdS(Ns.grail-unixis-*(tglobtpwdtsocketttempfileRRR%t
gettempdirttempdirtgetpwuidtgetuidtusertfilenametmaybesR
tAF_UNIXtSOCK_STREAMtstfntconnectterrortunlinktIOError(R+R@RARKRGRHR?RFRCR>RL((Rt_find_grail_rcÌs,					
cCs6|iƒ}|pdSn|i|ƒ|iƒdS(Nii(R+RQRKtsendR1tclose(R+R1RK((RR6æs

iicCs1|o|id|ƒn|id|ƒdS(NsLOADNEW sLOAD (RR+R6R(R+RRR((RRîscCs|i|dƒdS(Ni(R+RR(R+R((RRôs(RRRQR6RR(((RR=Ès		tWindowsDefaultcBs tZddd„Zd„ZRS(NiicCsti|ƒdS(N(Rt	startfileR(R+RRR((RRùscCs|i|ƒdS(N(R+RR(R+R((RRüs(RRRR(((RRTøstTERMtDISPLAYtlinkstlynxtw3ms
links '%s's	lynx '%s'sw3m '%s'thtmlviewtfirefoxtgaleont	skipstonesmozilla-firefoxsmozilla-firebirdtmozillatnetscapeR<tgrailshtmlview '%s' >/dev/null &tmosaicsmosaic '%s' >/dev/null &sskipstone '%s' >/dev/null &R;tInternetConfigcBs tZddd„Zd„ZRS(NiicCsti|ƒdS(N(tict	launchurlR(R+RRR((RR?scCs|i|ƒdS(N(R+RR(R+R((RRBs(RRRR(((RRc>sitwinswindows-defaultsinternet-configtos2snetscape.exetos2netscapesstart netscape.exe %stBROWSERs%s '%%s'cCs&|iƒtjp|idƒdjS(Ns%siÿÿÿÿ(txRR	tfind(Rj((Rt<lambda>us(R\smozilla-firefoxsmozilla-firebirdR_R`(!R7Rtsyst__all__t	ExceptionRR	RR
RRRRRR*R5RR/R8R:R=RTR RRctplatformRdtImportErrorR"R#R&Rtfilter(R&RTRcRRdRRRnR8R/R:R*RR	RmRR=RRRR5RR((Rt?sŽ					#0&


(






	
!		$2	

Anon7 - 2021