Update of /cvsroot/pydns/pydns/DNS
In directory usw-pr-cvs1:/tmp/cvs-serv5039
Modified Files:
lazy.py
Log Message:
reformatted extra-long line. note to self.
Index: lazy.py
===================================================================
RCS file: /cvsroot/pydns/pydns/DNS/lazy.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** lazy.py 8 May 2002 15:05:34 -0000 1.6
--- lazy.py 13 May 2002 08:25:27 -0000 1.7
***************
*** 23,28 ****
def revlookup6(name):
! """Takes an IPv6 textual address (rfc 2373 2.2 presentation format (subpart 3, ::i.p.v.4
! is explicitly NOT supported). Returns a name (only one if more than one presented)."""
a = Lib.addr62bin(name)
s = '%08x%08x%08x%08x' % a
--- 23,31 ----
def revlookup6(name):
! """
! Takes an IPv6 textual address (rfc 2373 2.2 presentation format
! (subpart 3, ::i.p.v.4 is explicitly NOT supported).
! Returns a name (only one if more than one presented).
! """
a = Lib.addr62bin(name)
s = '%08x%08x%08x%08x' % a
***************
*** 36,39 ****
--- 39,43 ----
if q.header['status'] == 'NXDOMAIN':
q = Base.DnsRequest(s + '.ip6.arpa',qtype='PTR').req()
+ # Hm. what if you get no answers?
return q.answers[0]['data']
***************
*** 51,54 ****
--- 55,61 ----
#
# $Log$
+ # Revision 1.7 2002/05/13 08:25:27 anthonybaxter
+ # reformatted extra-long line. note to self.
+ #
# Revision 1.6 2002/05/08 15:05:34 dbt
# AAAA records and ip6.int/ip6.arpa reverse.
|