+2014-01-10 Bob Halley <halley@ndnspython.org>
+
+ * dns/inet.py (is_multicast): Removed lingering ord()s.
+
2013-12-11 Bob Halley <halley@dnspython.org>
* dns/query.py: Fix problems with the IXFR state machine which caused
implemented.
@rtype: string
"""
-
+
if family == AF_INET:
return dns.ipv4.inet_aton(text)
elif family == AF_INET6:
@rtype: bool
"""
try:
- first = ord(dns.ipv4.inet_aton(text)[0])
+ first = dns.ipv4.inet_aton(text)[0]
return (first >= 224 and first <= 239)
except:
try:
- first = ord(dns.ipv6.inet_aton(text)[0])
+ first = dns.ipv6.inet_aton(text)[0]
return (first == 255)
except:
raise ValueError
-