diff options
author | Olle Lundberg <geek@nerd.sh> | 2012-10-16 16:54:44 +0200 |
---|---|---|
committer | Olle Lundberg <geek@nerd.sh> | 2013-02-28 12:11:41 +0100 |
commit | 32424ba109f2c9a3843b69c6768e04616fceb5fd (patch) | |
tree | b4bb8901aedd7ad4c07ce892d1d62bfd9e5ef8a6 | |
parent | ac1310c4a171587ae8fd15268a1981eaf139be57 (diff) |
Be more pythonic.
-rw-r--r-- | paramiko/config.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/paramiko/config.py b/paramiko/config.py index e9c1aaff..91b691ac 100644 --- a/paramiko/config.py +++ b/paramiko/config.py @@ -171,8 +171,7 @@ class SSHConfig (object): ret = {} for match in matches: - for key in match['config']: - value = match['config'][key] + for key, value in match['config'].iteritems(): if key == 'identityfile': if key in ret: ret['identityfile'].extend(value) |