Reviewed: https://review.openstack.org/238891 Committed: https://git.openstack.org/cgit/openstack/fuel-agent/commit/?id=e4056a7923dd607521d97763d5dfb6de8a33ab5d Submitter: Jenkins Branch: master
commit e4056a7923dd607521d97763d5dfb6de8a33ab5d Author: Igor Kalnitsky <email address hidden> Date: Fri Oct 23 15:00:51 2015 +0300
Pass unicode to io.open
We must pass unicode objects (unicode in py2, str in py3) to io.open, otherwise it would fail with:
TypeError: can't write str to text stream
Change-Id: I9d2ba46ae6b967feb64fe180f9a6ce85918b0791 Closes-Bug: #1509325
Reviewed: https:/ /review. openstack. org/238891 /git.openstack. org/cgit/ openstack/ fuel-agent/ commit/ ?id=e4056a7923d d607521d97763d5 dfb6de8a33ab5d
Committed: https:/
Submitter: Jenkins
Branch: master
commit e4056a7923dd607 521d97763d5dfb6 de8a33ab5d
Author: Igor Kalnitsky <email address hidden>
Date: Fri Oct 23 15:00:51 2015 +0300
Pass unicode to io.open
We must pass unicode objects (unicode in py2, str in py3) to io.open,
otherwise it would fail with:
TypeError: can't write str to text stream
Change-Id: I9d2ba46ae6b967 feb64fe180f9a6c e85918b0791
Closes-Bug: #1509325