diff options
author | Olle Lundberg <geek@nerd.sh> | 2012-10-16 16:54:44 +0200 |
---|---|---|
committer | Olle Lundberg <geek@nerd.sh> | 2012-10-16 16:54:44 +0200 |
commit | 04cc4d55102c111d3e054ef8d83a0a62c34de561 (patch) | |
tree | 4ab29afabec8d7dd59a0ed328679aa3ebaa16fc0 | |
parent | 7ce9875ed7d3e3738ed775ffda4ded1ce12d35f2 (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 832f42ef..bd1c2f65 100644 --- a/paramiko/config.py +++ b/paramiko/config.py @@ -120,8 +120,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) |