summaryrefslogtreecommitdiff
path: root/paramiko/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'paramiko/util.py')
-rw-r--r--paramiko/util.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/paramiko/util.py b/paramiko/util.py
index 9d9b0064..f6125eb1 100644
--- a/paramiko/util.py
+++ b/paramiko/util.py
@@ -258,7 +258,7 @@ def log_to_file(filename, level=DEBUG):
# make only one filter object, so it doesn't get applied more than once
-class PFilter(object):
+class PFilter:
def filter(self, record):
record._threadid = get_thread_id()
return True
@@ -293,7 +293,7 @@ def constant_time_bytes_eq(a, b):
return res == 0
-class ClosingContextManager(object):
+class ClosingContextManager:
def __enter__(self):
return self