File: //lib/python2.7/site-packages/dns/rdtypes/ANY/URI.pyo
�
�b�Wc @ s` d d l Z d d l Z d d l Z d d l Z d d l m Z d e j j f d � � YZ d S( i����N( t text_typet URIc B sk e Z d Z d d d g Z d � Z d e d � Z e d e d � � Z d d d � Z
e d d � � Z RS(
s� URI record
@ivar priority: the priority
@type priority: int
@ivar weight: the weight
@type weight: int
@ivar target: the target host
@type target: dns.name.Name object
@see: draft-faltstrom-uri-13t priorityt weightt targetc C s� t t | � j | | � | | _ | | _ t | � d k rR t j j d � � n t | t
� rs | j � | _ n | | _ d S( Ni s URI target cannot be empty(
t superR t __init__R R t lent dnst exceptiont SyntaxErrort
isinstanceR t encodeR ( t selft rdclasst rdtypeR R R ( ( s7 /usr/lib/python2.7/site-packages/dns/rdtypes/ANY/URI.pyR '