Reviewed: https://review.openstack.org/557673 Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=ab4139e30ca56425fb4f62ebf2d5cb48a0455952 Submitter: Zuul Branch: master
commit ab4139e30ca56425fb4f62ebf2d5cb48a0455952 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
Reviewed: https:/ /review. openstack. org/557673 /git.openstack. org/cgit/ openstack/ glance/ commit/ ?id=ab4139e30ca 56425fb4f62ebf2 d5cb48a0455952
Committed: https:/
Submitter: Zuul
Branch: master
commit ab4139e30ca5642 5fb4f62ebf2d5cb 48a0455952
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
Closes-Bug: #1759510