Reviewed: https://review.openstack.org/260687 Committed: https://git.openstack.org/cgit/openstack/python-glanceclient/commit/?id=4449ed306f53e4cefa981d895c84eb242df13202 Submitter: Jenkins Branch: stable/liberty
commit 4449ed306f53e4cefa981d895c84eb242df13202 Author: Andy Botting <email address hidden> Date: Mon Dec 21 12:18:08 2015 +1100
Fix image-download to stdout on Python 3.x
Glance image-download to stdout fails on Python3 due to sys.stdout.write not allowing bytes to be written directly.
A good description of the issue is listed at http://bugs.python.org/issue18512
Closes-Bug: #1528083
Change-Id: I2963914e2e0744410267b5735ff77939413916d4 (cherry picked from commit 3caeb4504e7f96130f904356bf45f93fcd7834c6)
Reviewed: https:/ /review. openstack. org/260687 /git.openstack. org/cgit/ openstack/ python- glanceclient/ commit/ ?id=4449ed306f5 3e4cefa981d895c 84eb242df13202
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit 4449ed306f53e4c efa981d895c84eb 242df13202
Author: Andy Botting <email address hidden>
Date: Mon Dec 21 12:18:08 2015 +1100
Fix image-download to stdout on Python 3.x
Glance image-download to stdout fails on Python3 due to sys.stdout.write
not allowing bytes to be written directly.
A good description of the issue is listed at http:// bugs.python. org/issue18512
Closes-Bug: #1528083
Change-Id: I2963914e2e0744 410267b5735ff77 939413916d4 30f904356bf45f9 3fcd7834c6)
(cherry picked from commit 3caeb4504e7f961