From fb22f2ff4f75783ba786935c93b75f372ede21f5 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Mon, 17 Oct 2016 17:11:21 +1300 Subject: Zap object base class --- netlib/certutils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'netlib/certutils.py') diff --git a/netlib/certutils.py b/netlib/certutils.py index 23836cb5..6f834466 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(object): +class CertStoreEntry(): def __init__(self, cert, privatekey, chain_file): self.cert = cert @@ -163,7 +163,7 @@ class CertStoreEntry(object): self.chain_file = chain_file -class CertStore(object): +class CertStore(): """ Implements an in-memory certificate store. -- cgit v1.2.3 From a647b30365593a4a3056fcf6936f5441ab9eda88 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Mon, 17 Oct 2016 17:29:45 +1300 Subject: python3: clean up class brackets --- netlib/certutils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'netlib/certutils.py') 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. -- cgit v1.2.3 From c774a9fec93feedc37a450400a03b83f5f4cb4b9 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Mon, 17 Oct 2016 17:34:46 +1300 Subject: python3: clean up super and __future__ --- netlib/certutils.py | 1 - 1 file changed, 1 deletion(-) (limited to 'netlib/certutils.py') diff --git a/netlib/certutils.py b/netlib/certutils.py index 340376d7..6a97f99e 100644 --- a/netlib/certutils.py +++ b/netlib/certutils.py @@ -1,4 +1,3 @@ -from __future__ import (absolute_import, print_function, division) import os import ssl import time -- cgit v1.2.3