diff options
author | Maximilian Hils <git@maximilianhils.com> | 2015-08-15 20:30:22 +0200 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2015-08-18 21:07:38 +0200 |
commit | c92dc1b8682ed15b68890f18c65b3f31122e9fa4 (patch) | |
tree | db9946b237e44ad2cd570bde73ac9764b9fa9cfb /netlib/tcp.py | |
parent | 3d306671251723a781b6e69c826bb94117f86188 (diff) | |
download | mitmproxy-c92dc1b8682ed15b68890f18c65b3f31122e9fa4.tar.gz mitmproxy-c92dc1b8682ed15b68890f18c65b3f31122e9fa4.tar.bz2 mitmproxy-c92dc1b8682ed15b68890f18c65b3f31122e9fa4.zip |
re-add form_out
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) |