관리-도구
편집 파일: ISDN.pyo
� !`Nc @ sD d d l Z d d l Z d d l Z d e j j f d � � YZ d S( i����Nt ISDNc B s} e Z d Z d d g Z d � Z d e d � Z d e d � Z e e � Z d d d � Z d d � Z e e � Z d � Z RS( s� ISDN record @ivar address: the ISDN address @type address: string @ivar subaddress: the ISDN subaddress (or '' if not present) @type subaddress: string @see: RFC 1183t addresst subaddressc C s/ t t | � j | | � | | _ | | _ d S( N( t superR t __init__R R ( t selft rdclasst rdtypeR R ( ( s: /usr/lib64/python2.7/site-packages/dns/rdtypes/ANY/ISDN.pyR s c K sP | j r5 d t j j | j � t j j | j � f Sd t j j | j � Sd S( Ns "%s" "%s"s "%s"( R t dnst rdatat _escapifyR ( R t origint relativizet kw( ( s: /usr/lib64/python2.7/site-packages/dns/rdtypes/ANY/ISDN.pyt to_text$ s c C sp | j � } | j � } | j � s@ | j | � | j � } n | j | � d } | j � | | | | | � S( Nt ( t get_stringt gett is_eol_or_eoft ungett get_eol( t clsR R t tokR R R t tR ( ( s: /usr/lib64/python2.7/site-packages/dns/rdtypes/ANY/ISDN.pyt from_text+ s c C s� t | j � } t | � } | j | � | j | j � t | j � } | d k r t | � } | j | � | j | j � n d S( Ni ( t lenR t chrt writeR ( R t filet compressR t lt byte( ( s: /usr/lib64/python2.7/site-packages/dns/rdtypes/ANY/ISDN.pyt to_wire9 s c C s� t | | � } | d 7} | d 8} | | k r? t j j � n | | | | !j � } | | 7} | | 8} | d k r� t | | � } | d 7} | d 8} | | k r� t j j � n | | | | !j � } n d } | | | | | � S( Ni i R ( t ordR t exceptiont FormErrort unwrap( R R R t wiret currentt rdlenR R R R ( ( s: /usr/lib64/python2.7/site-packages/dns/rdtypes/ANY/ISDN.pyt from_wireF s"