Skip to content

Commit

Permalink
Be more pythonic.
Browse files Browse the repository at this point in the history
  • Loading branch information
lndbrg committed Feb 28, 2013
1 parent ac1310c commit 32424ba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions paramiko/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,7 @@ def lookup(self, hostname):

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)
Expand Down

0 comments on commit 32424ba

Please sign in to comment.