Reviewed: https://review.openstack.org/599347 Committed: https://git.openstack.org/cgit/openstack/mistral/commit/?id=f85e57da89ebdac9e89f96c49c1ddf5a3a6734c2 Submitter: Zuul Branch: master
commit f85e57da89ebdac9e89f96c49c1ddf5a3a6734c2 Author: hardikj <email address hidden> Date: Mon Sep 3 16:03:51 2018 +0530
Fix SSHAction under python3
This patch fixes the bug in string handling in ssh_utils which prevented SSHAction execution in Python 3 setup.
In Python 3, all strings are unicode by default and byte stream no longer implicitly convert to str.
Py2: paramiko Channel.recv returns type `str` Py3: paramiko Channel.recv returns type `byte`
Change-Id: I24971858039f287df24d39c19eccc44916ecf580 Closes-Bug: #1781548
Reviewed: https:/ /review. openstack. org/599347 /git.openstack. org/cgit/ openstack/ mistral/ commit/ ?id=f85e57da89e bdac9e89f96c49c 1ddf5a3a6734c2
Committed: https:/
Submitter: Zuul
Branch: master
commit f85e57da89ebdac 9e89f96c49c1ddf 5a3a6734c2
Author: hardikj <email address hidden>
Date: Mon Sep 3 16:03:51 2018 +0530
Fix SSHAction under python3
This patch fixes the bug in string handling in ssh_utils which
prevented SSHAction execution in Python 3 setup.
In Python 3, all strings are unicode by default and byte stream
no longer implicitly convert to str.
Py2: paramiko Channel.recv returns type `str`
Py3: paramiko Channel.recv returns type `byte`
Change-Id: I24971858039f28 7df24d39c19eccc 44916ecf580
Closes-Bug: #1781548