Remove unused variable
TrivialFix Change-Id: I86aa6c52c86c1db8336692843c7f1030b70258c3
This commit is contained in:
parent
0325eaf2ac
commit
d3fe130621
@ -117,13 +117,9 @@ def import_image(image_repo, image_factory, task_input, task_id, uri):
|
|||||||
|
|
||||||
|
|
||||||
def create_image(image_repo, image_factory, image_properties, task_id):
|
def create_image(image_repo, image_factory, image_properties, task_id):
|
||||||
_base_properties = []
|
|
||||||
for k, v in v2_api.get_base_properties().items():
|
|
||||||
_base_properties.append(k)
|
|
||||||
|
|
||||||
properties = {}
|
properties = {}
|
||||||
# NOTE: get the base properties
|
# NOTE: get the base properties
|
||||||
for key in _base_properties:
|
for key in v2_api.get_base_properties():
|
||||||
try:
|
try:
|
||||||
properties[key] = image_properties.pop(key)
|
properties[key] = image_properties.pop(key)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
|
Loading…
Reference in New Issue
Block a user