Swift client does not stringify object names anymore on get_object()

Change-Id: I0a7d7a2292e09d3971bf17e0fe0383c8ae2c08e1
Resolves-Bug: #1537364
This commit is contained in:
Pierre-Arthur MATHIEU 2016-02-11 12:39:11 +00:00 committed by Pierre Mathieu
parent c4218f0385
commit b6452ab2f0
2 changed files with 2 additions and 2 deletions

View File

@ -210,7 +210,7 @@ class SwiftStorage(base.Storage):
:return:
"""
for chunk in self.swift().get_object(
self.container, backup, resp_chunk_size=self.chunk_size)[1]:
self.container, str(backup), resp_chunk_size=self.chunk_size)[1]:
yield chunk
def write_backup(self, rich_queue, backup):

View File

@ -1,7 +1,7 @@
astroid<1.4.0 # breaks pylint 1.4.4
setuptools>=16.0
pbr>=1.6
python-swiftclient>=2.2.0,<=2.6.0
python-swiftclient>=2.2.0 # Apache-2.0
python-keystoneclient>=1.6.0,!=1.8.0
python-cinderclient>=1.3.1
python-glanceclient>=1.2.0 # Apache-2.0