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 :  /usr/share/system-config-network/netconfpkg/tui/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/system-config-network/netconfpkg/tui/NCPluginDNS.pyc
mò
\Tc@s3dZdklZdkZdfd„ƒYZdS(sTUI DNS config Module(s
NCTcpIpDialogNtNCPluginDNSTuicBs5tZdZed„Zd„Zd„Zd„ZRS(sTUI DNS config DialogcCs‘tiddƒ|_tiddƒ|_tiddƒ|_tiddƒ|_tiddƒ|_tiddƒ|_|i
ƒ|_dS(s!
        The constructor
        itN(tsnacktEntrytselfthostnamet
domainnamet
primaryDNStsecondaryDNSttertiaryDNSt
searchListtplisttgetActiveProfiletprof(RR((t>/usr/share/system-config-network/netconfpkg/tui/NCPluginDNS.pyt__init__
scCs{|ii|iiƒ|ii|iiƒ|ii|ii	ƒ|i
i|iiƒ|iidi
|iiƒƒdS(s\
        Set the default values of the fields
        according to the given device
        t N(RRtsetR
tDNStHostnameRt
PrimaryDNSRtSecondaryDNSR	tTertiaryDNSR
tjoint
SearchList(RR
((RtsetStatescCsÒ|iiƒ|ii_|iiƒ|ii_|iiƒ|ii_	|i
iƒ|ii_|iiƒ}|iƒ}|iiid |ii_x$|D]}|iiii|ƒqžW|iiiƒdS(sZ
        Extracts info from the screen, and puts it into an active profile object
        iN(RRtvalueR
RRRRRRR	RR
tstsplitt
newentriesRtsptappendtcommit(RRRR((RtprocessInfo$scCstiddƒ}tiddƒ}|ititdƒƒddddƒ|ititdƒƒddddƒ|ititdƒƒddddƒ|ititd	ƒƒdd
ddƒ|ititdƒƒddddƒ|i|idddƒ|i|i	dddƒ|i|i
dddƒ|i|idd
dƒ|i|idddƒti
|td
ƒdftdƒdffƒ}|i|iƒti|tdƒdd
ƒ}|i|dddddƒ|i|dddƒ|i|ddddƒ|iƒ}|i|ƒdjodGH|iƒtSn3|i|ƒdjo|iƒ|iƒtSndS(NiiiRit
anchorLeftsPrimary DNSs
Secondary DNSsTertiary DNSitSearchitOktoktCanceltcancelsDNS configurationtgrowx(iiii(iiii(iiii(iiii(iiii(iiii(iiii(RtGridtg1tg2tsetFieldtLabelt_RRRRR	R
t	ButtonBartscreentbbRR
tGridFormttltaddtruntrest
buttonPressedt	popWindowtFalseR!tTrue(RR0R+R*R6R1R3((RtrunIt4s6(((((0


(t__name__t
__module__t__doc__tNoneRRR!R;(((RRs

	
	(R>tnetconfpkg.tui.NCTcpIpt
NCTcpIpDialogRR(RRAR((Rt?s
	

Anon7 - 2021