aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/certutils.py
diff options
context:
space:
mode:
Diffstat (limited to 'netlib/certutils.py')
-rw-r--r--netlib/certutils.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/netlib/certutils.py b/netlib/certutils.py
index 23836cb5..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
@@ -155,7 +154,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 +162,7 @@ class CertStoreEntry(object):
self.chain_file = chain_file
-class CertStore(object):
+class CertStore:
"""
Implements an in-memory certificate store.