String to byte conversion should provide the encoding type
Note:
In Train we still need to support Python 2.7 so this commit
adds import of six and six is used to make correct convertion
to bytes in both Python 2.7 and Python 3.
Change-Id: Id988cab87d32d5721cd91152df194fbb6fa703c5
Closes-Bug: #1887385
(cherry picked from commit 7a56b8f3bc5187846ce9f62dd9347ab5ffefcb5c)
(cherry picked from commit 18f019984a71a0e09530c2e6ec29c010968de90e)
(cherry picked from commit 0090884e15068a69f229044e37847ae13432c970)
Reviewed: https:/ /review. opendev. org/749374 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=0b1fd4fc265 3a851f147c435e6 5c6f3a29781100
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit 0b1fd4fc2653a85 1f147c435e65c6f 3a29781100
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Mon Jul 13 13:25:33 2020 +0000
String to byte conversion should provide the encoding type
Note:
In Train we still need to support Python 2.7 so this commit
adds import of six and six is used to make correct convertion
to bytes in both Python 2.7 and Python 3.
Change-Id: Id988cab87d32d5 721cd91152df194 fbb6fa703c5 46ce9f62dd9347a b5ffefcb5c) 09530c2e6ec29c0 10968de90e) 9f229044e37847a e13432c970)
Closes-Bug: #1887385
(cherry picked from commit 7a56b8f3bc51878
(cherry picked from commit 18f019984a71a0e
(cherry picked from commit 0090884e15068a6