Ñò £Tc @ sE d Z d „ Z d d d „ ƒ YZ d e f d „ ƒ YZ e ƒ Z d S( s /etc/servicesc C s/ y t | ƒ } Wn t j o d SXd Sd S( Ni i ( t intt ValueError( t stringt i( ( s1 /usr/share/system-config-firewall/etc_services.pyt isNumber s t _Servicec B sƒ e Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z e Z RS( c C s | i ƒ d S( N( t clear( t self( ( s1 /usr/share/system-config-firewall/etc_services.pyt __init__ s c C s1 d | _ d | _ d | _ d | _ g | _ d S( Ni t ( t p_idt p_protocolt p_namet p_descriptiont p_aliases( R ( ( s1 /usr/share/system-config-firewall/etc_services.pyR ! s c C s | | _ d S( N( R ( R t id( ( s1 /usr/share/system-config-firewall/etc_services.pyt setID' s c C s | i S( N( R ( R ( ( s1 /usr/share/system-config-firewall/etc_services.pyt getId) s c C s | | _ d S( N( R ( R t protocol( ( s1 /usr/share/system-config-firewall/etc_services.pyt setProtocol+ s c C s | i S( N( R ( R ( ( s1 /usr/share/system-config-firewall/etc_services.pyt getProtocol- s c C s | | _ d S( N( R ( R t name( ( s1 /usr/share/system-config-firewall/etc_services.pyt setName/ s c C s | i S( N( R ( R ( ( s1 /usr/share/system-config-firewall/etc_services.pyt getName1 s c C s | | _ d S( N( R ( R t description( ( s1 /usr/share/system-config-firewall/etc_services.pyt setDescription3 s c C s | i S( N( R ( R ( ( s1 /usr/share/system-config-firewall/etc_services.pyt getDescription5 s c C s | | _ d S( N( R ( R t aliases( ( s1 /usr/share/system-config-firewall/etc_services.pyt setAliases7 s c C s | i S( N( R ( R ( ( s1 /usr/share/system-config-firewall/etc_services.pyt getAliases9 s c C sŽ d | i ƒ | i ƒ | i ƒ f } t | i ƒ ƒ d j o! | d d i | i ƒ ƒ 7} n | i ƒ d j o | d | i ƒ 7} n | S( Ns %s %d/%si s %st R s # %s( R R R t lenR t joinR ( R t s( ( s1 /usr/share/system-config-firewall/etc_services.pyt __str__; s %!( t __name__t __module__R R R R R R R R R R R R R" t __repr__( ( ( s1 /usr/share/system-config-firewall/etc_services.pyR s t _Servicesc B s e Z d „ Z d „ Z RS( c C s t i | ƒ | i ƒ d S( N( t listR t load( R ( ( s1 /usr/share/system-config-firewall/etc_services.pyR E s c C s y t t d ƒ } Wn t j o } | GHd SXxÅ| i ƒ D]·} | p Pn t | ƒ d j p | d d j o q> n | i ƒ } | i d ƒ } t | ƒ d j o q> n | d } t | ƒ d j o | d i ƒ } n d } t | ƒ d j o q> n | i ƒ } t | ƒ d j o q> n t ƒ } | i | d ƒ | d j o | i | ƒ n | d i d ƒ } t | ƒ d j o q> n y t | d ƒ } Wn t j o q> n X| i | ƒ | i | d ƒ | i | d ƒ | i | ƒ q> W| i ƒ d S( Nt ri i t #i t /( t opent ETC_SERVICESt Exceptiont xreadlinesR t stript splitt NoneR R R R R R R R t appendt close( R t fdt msgt linet pR t servicet p2R ( ( s1 /usr/share/system-config-firewall/etc_services.pyR( I sP $ ( R# R$ R R( ( ( ( s1 /usr/share/system-config-firewall/etc_services.pyR&