diff options
author | Maximilian Hils <git@maximilianhils.com> | 2017-03-14 00:40:15 +0100 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2017-03-14 00:40:15 +0100 |
commit | 875ce8c9c140290960535cdd132bdf92bad2e1bf (patch) | |
tree | b345083e8051a78fed2d83c393a768834cb210ee /mitmproxy/certs.py | |
parent | ee65894d40f5a9f73125a8d3e73ba50540939e5b (diff) | |
download | mitmproxy-875ce8c9c140290960535cdd132bdf92bad2e1bf.tar.gz mitmproxy-875ce8c9c140290960535cdd132bdf92bad2e1bf.tar.bz2 mitmproxy-875ce8c9c140290960535cdd132bdf92bad2e1bf.zip |
py3: __ne__ delegates to __eq__ by default
Diffstat (limited to 'mitmproxy/certs.py')
-rw-r--r-- | mitmproxy/certs.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/mitmproxy/certs.py b/mitmproxy/certs.py index 6485eed7..618b34de 100644 --- a/mitmproxy/certs.py +++ b/mitmproxy/certs.py @@ -384,9 +384,6 @@ class SSLCert(serializable.Serializable): def __eq__(self, other): return self.digest("sha256") == other.digest("sha256") - def __ne__(self, other): - return not self.__eq__(other) - def get_state(self): return self.to_pem() |