diff options
author | Robey Pointer <robey@lag.net> | 2006-12-16 17:18:40 -0800 |
---|---|---|
committer | Robey Pointer <robey@lag.net> | 2006-12-16 17:18:40 -0800 |
commit | 5a30821a7dab84364ee7e881b74169339978c776 (patch) | |
tree | f34fed025ee6c1cd459aa4779812d368c90a9717 | |
parent | 029b8989dbdde898f0ee4e09e17153f4efa2e416 (diff) |
[project @ robey@lag.net-20061217011840-wndj9dyd2f9g512e]
don't need to expanduser twice
-rw-r--r-- | paramiko/client.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/paramiko/client.py b/paramiko/client.py index ae257152..d23bcb73 100644 --- a/paramiko/client.py +++ b/paramiko/client.py @@ -384,7 +384,6 @@ class SSHClient (object): if os.path.isfile(dsa_key): keyfiles.append((DSSKey, dss_key)) for pkey_class, filename in keyfiles: - filename = os.path.expanduser('~/.ssh/' + filename) try: key = pkey_class.from_private_key_file(filename, password) self._log(DEBUG, 'Trying discovered key %s in %s' % (hexlify(key.get_fingerprint()), filename)) |