]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Port image cache to Python 3
authorVictor Stinner <vstinner@redhat.com>
Wed, 7 Oct 2015 15:20:07 +0000 (17:20 +0200)
committerVictor Stinner <vstinner@redhat.com>
Wed, 7 Oct 2015 15:20:48 +0000 (17:20 +0200)
commitcb0b687a5bfcbff090175ba8a6e4313e85e24e91
treea069d765a02b6ac958afbaa004cf5bac6af6b256
parenta37618f55b44d8ffc5740632d251d8c53c348418
Port image cache to Python 3

* Replace [unicode, str] with six.string_types and use isinstance()
  to check the type
* tox.ini: add cinder.tests.unit.image.test_cache to Python 3.4

Partial-Implements: blueprint cinder-python3
Change-Id: Iba44a929bc8590e5b708074f8a17cc86b09e41bd
cinder/image/cache.py
tests-py3.txt