|
Server : Apache/2.2.2 (Fedora) System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686 User : apache ( 48) PHP Version : 5.2.9 Disable Function : NONE Directory : /usr/share/system-config-samba/ |
Upload File : |
mò £^Dc @ sµ d k Z d k Z d k Z d k Z d k Z d k Z d k l Z d k l Z d k l Z l Z d k i Z d Z e i e ƒ d f d „ ƒ YZ d „ Z d f d „ ƒ YZ d S( N( s global_keys( s section_keys( t _s N_s system-config-sambat SambaSectionc B sw t Z g Z h Z d e d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d d „ Z d „ Z RS( Nc C sC d | _ g | _ | o% | i | ƒ o t d | ƒ ‚ n d S( Ns section %s already defined( t Nonet selft namet contentt prototypet set_namet Error( R R R ( ( t- /usr/share/system-config-samba/sambaParser.pyt __init__( s c C s˜ d } | i o | d | i 7} n xl | i D]a } | i ƒ } | oH t i | ƒ d j o t d | | f ƒ ‚ q | d | i ƒ 7} q/ q/ W| S( Nt s %s R s7 refusing to write illegal token %s which would yield %ss %s( t strR R R t tokent getDatat tokendatat stringt stript Exception( R R R R ( ( R t __str__1 s c C sm g } x$ | i D] } | i t | ƒ ƒ q W| i o | i } n d } d | i i | t i | d ƒ f S( Nt preambels <%s instance %s: %s >s ( t contentstringsR R R t appendt reprR t __class__t __name__R t join( R R R R ( ( R t __repr__? s c C se t i | i ƒ } | o! t i i | ƒ o t i | =n | t i j o t i i | ƒ n ~ d S( N( R t lowerR R R t sections_dictt has_keyt sectionst remove( R R ( ( R t deleteI s c C sò t | ƒ t j oE | d d j o! | d d j o t d ƒ ‚ n t i | ƒ } n | } | t i j o€ | i oH t i | ƒ t i t i i t i | i ƒ ƒ <t i t i | i ƒ =n t i i | ƒ | | _ | t i | <t Sn t S( Ni t [iÿÿÿÿt ]s) section name must be enclosed in brackets( t typet newnameR R R R t _newnameR R R R t indexR R t Truet False( R R% R&