Commit 7626eacc by Henry Finucane

Make ssh_config paramiko 1.12/1.13 compatible

parent cf434df6
......@@ -63,7 +63,8 @@ def get_config():
for d in cfg._config:
_copy = dict(d)
del _copy['host']
ret_dict[d['host']] = _copy
for host in d['host']:
ret_dict[host] = _copy['config']
return ret_dict
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment