summaryrefslogtreecommitdiff
path: root/trunk/ipaddr.py
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/ipaddr.py')
-rw-r--r--trunk/ipaddr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/trunk/ipaddr.py b/trunk/ipaddr.py
index 4c02378..f1706b6 100644
--- a/trunk/ipaddr.py
+++ b/trunk/ipaddr.py
@@ -476,7 +476,7 @@ class _BaseIP(_IPAddrBase):
return '%s' % self._string_from_ip_int(self._ip)
def __hash__(self):
- return hash(hex(self._ip))
+ return hash(hex(long(self._ip)))
def _get_address_key(self):
return (self._version, self)