| Server IP : 182.53.201.61 / Your IP : 216.73.217.175 Web Server : Apache/2.2.15 (Fedora) System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 User : apache ( 48) PHP Version : 5.3.3 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/system-config-network/netconfpkg/conf/ |
Upload File : |
Ñò
:®Jc @ sR d d k Z d d k l Z l Z d e f d „ ƒ YZ d e f d „ ƒ YZ d S( iÿÿÿÿNi ( t Conft ConfIndexErrort ConfShellVarc B sP e Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( c C sJ t i d ƒ | _ t i d ƒ | _ t i | | d d d d d d ƒd S( Ns ^[ ]*[A-Za-z_][A-Za-z0-9_]*=s [ ${}*@!~<>?;%^()#&=]t commenttypet #t
separatorst =t separator( t ret compilet nextregt quoteregR t __init__( t selft filename( ( s@ /usr/share/system-config-network/netconfpkg/conf/ConfShellVar.pyR s c C s t i | ƒ | i ƒ d S( N( R t readt initvars( R
( ( s@ /usr/share/system-config-network/netconfpkg/conf/ConfShellVar.pyR
s
c
C sP h | _ | i ƒ x,| i | i ƒ o| i ƒ } d i | d t | ƒ !ƒ | d <t | d ƒ o› | d d d j o† | d d } | d d | d <d } y. x' t | d | | ƒ o | d } q§ WWn t | i | ƒ ‚ n X| d | | d <n t
i d d | d ƒ | d <| d | i | d <| i ƒ q W| i ƒ d S( NR i i s '"iÿÿÿÿs #.*t (
t varst rewindt findnextlineR
t getfieldst joint lent cmpR R R t subt nextline( R
t vart quotet p( ( s@ /usr/share/system-config-network/netconfpkg/conf/ConfShellVar.pyR s*
& c C s' | i i | ƒ o | i | Sd Sd S( NR ( R t has_key( R
t varname( ( s@ /usr/share/system-config-network/netconfpkg/conf/ConfShellVar.pyt __getitem__, s c C s | p
d } n | i ƒ } | i ƒ d } xp | i d | d ƒ oW | i i | ƒ o | i d d | d ƒ n | i d d | ƒ d } | i ƒ q0 W| oV | i | ƒ | i i | ƒ o | i | d | d ƒ qý | i | d | ƒ n | | i | <d S( NR i s ^[ ]*R s =.*s ='t 'i (
t tellR R R t searcht sedlineR t seekt
insertlineR ( R
R t valuet placet missing( ( s@ /usr/share/system-config-network/netconfpkg/conf/ConfShellVar.pyt __setitem__1 s$
c C sY | i ƒ x' | i d | d ƒ o | i ƒ q
W| i i | ƒ o | i | =n d S( Ns ^[ ]*R ( R R t
deletelineR R ( R
R ( ( s@ /usr/share/system-config-network/netconfpkg/conf/ConfShellVar.pyt __delitem__I s
c C s | i i | ƒ o d Sd S( Ni i ( R R ( R
t key( ( s@ /usr/share/system-config-network/netconfpkg/conf/ConfShellVar.pyR R s c C s
| i i ƒ S( N( R t keys( R
( ( s@ /usr/share/system-config-network/netconfpkg/conf/ConfShellVar.pyR. V s (
t __name__t
__module__R R R R R* R, R R. ( ( ( s@ /usr/share/system-config-network/netconfpkg/conf/ConfShellVar.pyR s t ConfShellVarClonec B s, e Z d „ Z d „ Z d „ Z d „ Z RS( c C s t i | | ƒ | | _ d S( N( R R t ci( R
t
cloneInstanceR ( ( s@ /usr/share/system-config-network/netconfpkg/conf/ConfShellVar.pyR b s c C sF | i i | ƒ o | i | S| i i | ƒ o | i | Sd Sd S( NR ( R R R2 ( R
R ( ( s@ /usr/share/system-config-network/netconfpkg/conf/ConfShellVar.pyR g s
c C sM | | i | j o t i | | | ƒ n | i i | ƒ o | | =n d S( N( R2 R R* R R ( R
R R' ( ( s@ /usr/share/system-config-network/netconfpkg/conf/ConfShellVar.pyR* n s c C s4 | i i | ƒ o t S| i i | ƒ o t St S( N( R R t TrueR2 t False( R
R- ( ( s@ /usr/share/system-config-network/netconfpkg/conf/ConfShellVar.pyR x s
( R/ R0 R R R* R ( ( ( s@ /usr/share/system-config-network/netconfpkg/conf/ConfShellVar.pyR1 a s
( R R R R R1 ( ( ( s@ /usr/share/system-config-network/netconfpkg/conf/ConfShellVar.pyt <module> s [