]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Port xio driver to Python 3
authorVictor Stinner <vstinner@redhat.com>
Thu, 5 Nov 2015 16:10:54 +0000 (17:10 +0100)
committerVictor Stinner <vstinner@redhat.com>
Fri, 13 Nov 2015 15:38:20 +0000 (16:38 +0100)
commit8e527c806b7731835a28a9ae95f52ce74e3cffa9
treeb78c6ff0132c01eb6ac0b189226eabb4e9ee8690
parent037dc38ef93b4add3d1dc82954cabb14532b7c4e
Port xio driver to Python 3

* Replace base64.encodestring() with
  oslo_serialization.base64.encode_as_text() to get Unicode
  on Python 3.
* Replace string.upper(text) with text.upper()
* Replace string.replace(text, a, b) with text.replace(a, b)
* tox.ini: add test_xio to Python 3.4

Partial-Implements: blueprint cinder-python3
Change-Id: I75a5dee2fd1f8cf45dbf416b0353736a43efd8e8
cinder/volume/drivers/xio.py
tests-py3.txt