diff options
author | Ross Brattain <ross.b.brattain@intel.com> | 2017-02-22 09:03:16 -0800 |
---|---|---|
committer | Ross Brattain <ross.b.brattain@intel.com> | 2017-02-22 09:09:44 -0800 |
commit | cff46c96c8986597dbd714e5030693879b58d168 (patch) | |
tree | ddd439b775c0d6f233c969a3f560e975bd0806b0 /tests/opnfv/test_cases | |
parent | 1de77a560797a09f6c244ffd1aaefed31a0f3652 (diff) |
BugFix: update to paramiko 1.18.0 to fix TypeError
with python 3 there is a paramiko error
due to .keys() usages in python 3
File "python3.5/site-packages/paramiko/ssh_exception.py", line 166, in __init__
body = ', '.join([x[0] for x in addrs[:-1]
TypeError: 'dict_keys' object is not subscriptable
paramiko 1.16.0 tries to index addr.keys() but
addr.keys() is not a dict view in Python 3 and not a list
so we need to convert .keys() to a list, using sorted()
This was most recently fixed in
https://github.com/paramiko/paramiko/commit/0411010d55755913fa7bd5b0a9c719c8548549f4
which should be in paramiko 1.18.0
Change-Id: I6b10664611cab3b21d3aa33ecf1343ff134f59a1
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
Diffstat (limited to 'tests/opnfv/test_cases')
0 files changed, 0 insertions, 0 deletions