Adapt python-tempestconf to python3
As part of running tripleo standalone jobs at fedora28 we found that parts of tempestconf were not adapted to python3, this review just add needed stuff to run tripleo-fedora-28-standalone job there. Story: https://tree.taiga.io/project/tripleo-ci-board/task/478?kanban-status=1447276 Change-Id: I850ff56c4ced2f3cbab05bb8c3b120e112a2acdd
This commit is contained in:
@@ -187,7 +187,7 @@ class ImageService(VersionedService):
|
||||
else:
|
||||
visibility = 'public'
|
||||
|
||||
with open(path) as data:
|
||||
with open(path, 'rb') as data:
|
||||
image = self.client.create_image(name=name,
|
||||
disk_format=self.disk_format,
|
||||
container_format='bare',
|
||||
|
||||
Reference in New Issue
Block a user