Reviewed: https://review.openstack.org/558359 Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=0da269128ed14096315c9b9e54679fd7e85e9b9b Submitter: Zuul Branch: stable/queens
commit 0da269128ed14096315c9b9e54679fd7e85e9b9b Author: Abhishek Kekane <email address hidden> Date: Thu Mar 29 09:54:19 2018 +0000
Python 3.5: Image Import fails with Unicode Error
Newly added image import api fails for python 3.5 as it raises Unicode error as it fails to open file in binary mode.
Added 'rb' mode while opening the file which will open the provided file in binary mode.
Change-Id: I297a415d6fa8700c6a131e0931d11bda65265c73 Closes-Bug: #1759510 (cherry picked from commit ab4139e30ca56425fb4f62ebf2d5cb48a0455952)
Reviewed: https:/ /review. openstack. org/558359 /git.openstack. org/cgit/ openstack/ glance/ commit/ ?id=0da269128ed 14096315c9b9e54 679fd7e85e9b9b
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 0da269128ed1409 6315c9b9e54679f d7e85e9b9b
Author: Abhishek Kekane <email address hidden>
Date: Thu Mar 29 09:54:19 2018 +0000
Python 3.5: Image Import fails with Unicode Error
Newly added image import api fails for python 3.5 as it
raises Unicode error as it fails to open file in binary mode.
Added 'rb' mode while opening the file which will open the provided
file in binary mode.
Change-Id: I297a415d6fa870 0c6a131e0931d11 bda65265c73 5fb4f62ebf2d5cb 48a0455952)
Closes-Bug: #1759510
(cherry picked from commit ab4139e30ca5642