git://blacka.com
/
python-rwhoisd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update TODO based on work for 0.4.1
[python-rwhoisd.git]
/
rwhoisd
/
Cidr.py
diff --git
a/rwhoisd/Cidr.py
b/rwhoisd/Cidr.py
index
30eee88
..
88d46d3
100644
(file)
--- a/
rwhoisd/Cidr.py
+++ b/
rwhoisd/Cidr.py
@@
-18,6
+18,7
@@
# USA
import socket, types, copy, bisect, struct
# USA
import socket, types, copy, bisect, struct
+import v6addr
def new(address, netlen = -1):
"""Construct either a CidrV4 or CidrV6 object."""
def new(address, netlen = -1):
"""Construct either a CidrV4 or CidrV6 object."""
@@
-39,8
+40,6
@@
def new(address, netlen = -1):
class Cidr:
"""A class representing a generic CIDRized network value."""
class Cidr:
"""A class representing a generic CIDRized network value."""
-
-
def _initialize(self, address, netlen):
"""This a common constructor that is used by the subclasses."""
def _initialize(self, address, netlen):
"""This a common constructor that is used by the subclasses."""