Repository URL to install this package:
|
Version:
2.5 ▾
|
ó
EYc @ s4 d Z d d l m Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l
Z d d l Z d d l m
Z
m Z m Z d Z e d Z d Z e d Z e d Z d
Z d Z d e f d
YZ d e f d YZ i Z d Z d Z d e d Z d d Z! d S( sæ DNS rdata.
@var _rdata_modules: A dictionary mapping a (rdclass, rdtype) tuple to
the module which implements that type.
@type _rdata_modules: dict
@var _module_prefix: The prefix to use when forming modules names. The
default is 'dns.rdtypes'. Changing this value will break the library.
@type _module_prefix: string
@var _hex_chunk: At most this many octets that will be represented in each
chunk of hexstring that _hexify() produces before whitespace occurs.
@type _hex_chunk: intiÿÿÿÿ( t BytesIONi ( t xranget string_typest text_typei c C sR t j | } d j g t d t | | D] } | | | | !^ q. j S( s Convert a binary string into its hex encoding, broken up into chunks
of I{chunksize} characters separated by a space.
@param data: the binary string
@type data: string
@param chunksize: the chunk size. Default is L{dns.rdata._hex_chunksize}
@rtype: string
t i ( t binasciit hexlifyt joint ranget lent decode( t datat chunksizet linet i( ( sO /home/tvault/.virtenv/lib/python2.7/site-packages/eventlet/support/dns/rdata.pyt _hexify+ s
c C sR t j | } d j g t d t | | D] } | | | | !^ q. j S( s$ Convert a binary string into its base64 encoding, broken up into chunks
of I{chunksize} characters separated by a space.
@param data: the binary string
@type data: string
@param chunksize: the chunk size. Default is
L{dns.rdata._base64_chunksize}
@rtype: string
R i ( t base64t b64encodeR R R R
( R R R
R ( ( sO /home/tvault/.virtenv/lib/python2.7/site-packages/eventlet/support/dns/rdata.pyt
_base64ify= s s "\c C s³ t | t r | j } n t | t s<