]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Python 3 incompatible expression fix
authorSzymon Wroblewski <szymon.wroblewski@intel.com>
Thu, 20 Aug 2015 11:44:08 +0000 (13:44 +0200)
committerSzymon Wroblewski <szymon.wroblewski@intel.com>
Wed, 26 Aug 2015 15:13:26 +0000 (17:13 +0200)
commitde14a81b7370f4af954bc3c533947f51686fe5f5
treec4dd9a122dfd0c82d74448b38bc82354d71c8ceb
parent275c2acdfb4282b0ec0314c9875b759958c093f8
Python 3 incompatible expression fix

In Python 3 dict.keys() return iterable view which
does not support indexing. This patch fixes the issue by using
appropriate iterator functions.

Implements: bp cinder-python3
Change-Id: Ib31531e5890fb050ce3c03ea0a078afd2122abe4
cinder/backup/manager.py