Don't inheric from 'object' (after deprecating Python 2.x support)
This commit is contained in:
@@ -193,7 +193,7 @@ def import_public_keys(contents):
|
||||
yield line
|
||||
|
||||
|
||||
class JustInTimeConnection(object):
|
||||
class JustInTimeConnection:
|
||||
"""Connect to the device just before the needed operation."""
|
||||
|
||||
def __init__(self, conn_factory, identities, public_keys=None):
|
||||
|
||||
@@ -11,7 +11,7 @@ from . import formats, util
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class Client(object):
|
||||
class Client:
|
||||
"""Client wrapper for SSH authentication device."""
|
||||
|
||||
def __init__(self, device):
|
||||
|
||||
@@ -70,7 +70,7 @@ def _legacy_pubs(buf):
|
||||
return util.frame(code, num)
|
||||
|
||||
|
||||
class Handler(object):
|
||||
class Handler:
|
||||
"""ssh-agent protocol handler."""
|
||||
|
||||
def __init__(self, conn, debug=False):
|
||||
|
||||
Reference in New Issue
Block a user