Comment 2 for bug 1759510

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

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