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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/22697/root/usr/share/system-config-network/netconfpkg/tui/NCModemInterface.pyo
mò
[Tc@s5dkTdkTdfd„ƒYZeeƒdZdS((t*tNCModemInterfacecBs2tZdd„Zdd„Zd„Zd„ZRS(NcCstddƒ|_tddƒ|_tddƒ|_tddƒ|_tddddƒ|_tddƒ|_||_dS(s
        The constructor
        @screen A snack screen instance
        @devicelist A NCDeviceList
        @modem The modem device. If none given, the first
               modem in devicelist will be used.
               If none are there, one will be added.
        ittpasswordiN(	tEntrytselftnamethwdevtlogintphonenoRt
initstringtmodem(RR((tC/usr/share/system-config-network/netconfpkg/tui/NCModemInterface.pyt__init__scCsí|oâ|io|ii|iƒn|io|ii|iƒn|iio|i	i|iiƒn|ii
o|ii|ii
ƒn|iio|i
i|iiƒn|iio|ii|iiƒqéndS(sž
        Set the default values of the fields
        according to the given device
        @modem The NCDevice (type modem) to use as default values
        N(RtDeviceIdRRtsettDeviceRtDialuptLoginRtPasswordRt
InitStringR
tPhoneNumberR	(RR((RtsetStates





cCsŽ|iiƒ|i_|iiƒ|i_|iiƒ|ii_	|i
iƒ|ii_|iiƒ|ii_
|iiƒ|ii_dS(sQ
        Extracts info from the screen, and puts it into a device object
        N(RRtvalueRRRRRRRRRR
RR	R(R((RtprocessInfo0scCs¹||_tddƒ}tddƒ}|ittdƒƒddddƒ|ittdƒƒddddƒ|ittdƒƒddddƒ|ittd	ƒƒdd
ddƒ|ittdƒƒddddƒ|ittd
ƒƒddddƒ|i|idddƒ|i|i	dddƒ|i|i
dddddƒ|i|idd
dƒ|i|idddƒ|i|i
dddƒt|itdƒdftdƒdffƒ}t|tdƒdd
ƒ}|i|dddddƒ|i|dddƒ|i|ddddƒ|i|iƒxk|iƒ}|i|ƒdjo|iƒtSqJ|i|ƒdjo|iƒ|iƒtSqJqJWdS(sB
        Show and run the screen, save files if necesarry
        iiitNameit
anchorLeftRsISP Phonenumbers	ISP LoginisISP PasswordisModem InitstringitOktoktCanceltcancelsModem ConfigurationtgrowxN(iiii(iiii(iiii(iiii(iiii(iiii(iiii(iiii(tscreenRtGridtg1tg2tsetFieldtLabelt_RRR	RRR
t	ButtonBartbbtGridFormttltaddRRtruntrest
buttonPressedt	popWindowtFalseRtTrue(RR R#R"R-R(R*((RtrunIt<s@	%%%%%%0


(t__name__t
__module__tNoneR
RRR2(((RRs	s Harald Hoyer <harald@redhat.com>N(tnetconfpkg.plugins.NCDevModemtsnackRtsetDevModemDialogt
__author__(RR9((Rt?sY


Anon7 - 2021