diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2016-10-17 17:29:45 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2016-10-17 17:37:08 +1300 |
commit | a647b30365593a4a3056fcf6936f5441ab9eda88 (patch) | |
tree | 079b18790be5dfcc9a88f19e282b57088574d223 /netlib/certutils.py | |
parent | fb22f2ff4f75783ba786935c93b75f372ede21f5 (diff) | |
download | mitmproxy-a647b30365593a4a3056fcf6936f5441ab9eda88.tar.gz mitmproxy-a647b30365593a4a3056fcf6936f5441ab9eda88.tar.bz2 mitmproxy-a647b30365593a4a3056fcf6936f5441ab9eda88.zip |
python3: clean up class brackets
Diffstat (limited to 'netlib/certutils.py')
-rw-r--r-- | netlib/certutils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/netlib/certutils.py b/netlib/certutils.py index 6f834466..340376d7 100644 --- a/netlib/certutils.py +++ b/netlib/certutils.py @@ -155,7 +155,7 @@ def dummy_cert(privkey, cacert, commonname, sans): # return current.value -class CertStoreEntry(): +class CertStoreEntry: def __init__(self, cert, privatekey, chain_file): self.cert = cert @@ -163,7 +163,7 @@ class CertStoreEntry(): self.chain_file = chain_file -class CertStore(): +class CertStore: """ Implements an in-memory certificate store. |