|
@@ -82,14 +82,6 @@ class IPAddress:
|
|
|
|
|
|
return self.ipnum < other.ipnum
|
|
|
|
|
|
- def __gt__(self, other):
|
|
|
- if other is None:
|
|
|
- raise TypeError("Cannot compare to None")
|
|
|
- if not isinstance(other, IPAddress):
|
|
|
- raise NotImplemented # maybe other can compare to self
|
|
|
-
|
|
|
- return self.ipnum > other.ipnum
|
|
|
-
|
|
|
class IPAddressBlock:
|
|
|
CIDR_REGEXP = IPAddress.IP_REGEXP + r"(\/(3[0-2]|[12]?\d)|)?"
|
|
|
|