summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--paramiko/config.py3
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)