glance/glance/common
Abhishek Kekane 0da269128e 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 ab4139e30c)
2018-04-03 04:40:43 +00:00
..
location_strategy Clean up acceptable values for 'store_type_preference' 2017-04-26 15:06:33 +00:00
scripts Python 3.5: Image Import fails with Unicode Error 2018-04-03 04:40:43 +00:00
__init__.py Empty files shouldn't contain copyright nor license 2013-12-24 22:39:05 -06:00
auth.py Extracted HTTP response codes to constants 2016-10-06 15:15:20 +00:00
client.py IPv6 fix in Glance for malformed URLs. 2016-11-15 17:09:51 +01:00
config.py Enable Image Import per default and make current 2018-01-24 13:01:55 +00:00
crypt.py Use cryptography instead of pycrypto 2017-03-28 13:12:57 -04:00
exception.py Remove the remaining code after glare-ectomy 2017-03-17 15:29:16 +03:00
property_utils.py Implementation of Inject metadata properties 2018-01-19 12:11:31 +05:30
rpc.py do not declare code blocks as json when they do not parse 2017-06-21 14:15:58 -04:00
store_utils.py Remove references of s3 store driver 2016-08-11 12:32:48 -04:00
swift_store_utils.py Fix a typo in swift_store_utils.py: replace Vaid with Valid 2017-09-26 09:13:45 +00:00
timeutils.py Handle TZ change in iso8601 >=0.1.12 2018-01-31 14:50:36 +00:00
trust_auth.py Fix trust auth mechanism 2017-06-29 22:35:07 +03:00
utils.py Revise help text for uri filtering options 2018-02-21 17:22:12 +00:00
wsgi.py Limit default workers to 8 2018-02-13 22:06:03 +00:00
wsgi_app.py Implementation of Inject metadata properties 2018-01-19 12:11:31 +05:30
wsme_utils.py Replace oslo_utils.timeutils 2015-12-10 10:53:46 +00:00