diff options
Diffstat (limited to 'netlib/tcp.py')
| -rw-r--r-- | netlib/tcp.py | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/netlib/tcp.py b/netlib/tcp.py index b3171a1c..22cd0965 100644 --- a/netlib/tcp.py +++ b/netlib/tcp.py @@ -310,6 +310,8 @@ class Address(object):          return str(self.address)      def __eq__(self, other): +        if not other: +            return False          other = Address.wrap(other)          return (self.address, self.family) == (other.address, other.family) | 
