diff options
Diffstat (limited to 'paramiko/agent.py')
-rw-r--r-- | paramiko/agent.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/paramiko/agent.py b/paramiko/agent.py index 8486d6ca..9d215b85 100644 --- a/paramiko/agent.py +++ b/paramiko/agent.py @@ -55,6 +55,7 @@ ALGORITHM_FLAG_MAP = { } +# TODO 4.0: rename all these - including making some of their methods public? class AgentSSH: def __init__(self): self._conn = None @@ -470,7 +471,7 @@ class AgentKey(PKey): Proxy any un-implemented methods/properties to the inner_key. """ if self.inner_key is None: # nothing to proxy to - raise AttributeError(name=name, obj=self) + raise AttributeError(name) return getattr(self.inner_key, name) @property |