Reviewed: https://review.openstack.org/123451 Committed: https://git.openstack.org/cgit/openstack/keystonemiddleware/commit/?id=6266ed437d454a95bbd002234f94e646e45b29a7 Submitter: Jenkins Branch: master
commit 6266ed437d454a95bbd002234f94e646e45b29a7 Author: Chmouel Boudjnah <email address hidden> Date: Tue Sep 23 16:33:51 2014 +0200
Encode middleware error message as bytes
On py3 the middleware message needs to be passed as bytes instead of string. Since on py2 str.encode() doesn't do anything it doesn't change the behavior there.
Change-Id: Ie593e8659be736aa4d85ca2a47ae2a30db446f84 Closes-Bug: 1372484
Reviewed: https:/ /review. openstack. org/123451 /git.openstack. org/cgit/ openstack/ keystonemiddlew are/commit/ ?id=6266ed437d4 54a95bbd002234f 94e646e45b29a7
Committed: https:/
Submitter: Jenkins
Branch: master
commit 6266ed437d454a9 5bbd002234f94e6 46e45b29a7
Author: Chmouel Boudjnah <email address hidden>
Date: Tue Sep 23 16:33:51 2014 +0200
Encode middleware error message as bytes
On py3 the middleware message needs to be passed as bytes instead of
string. Since on py2 str.encode() doesn't do anything it doesn't change
the behavior there.
Change-Id: Ie593e8659be736 aa4d85ca2a47ae2 a30db446f84
Closes-Bug: 1372484