Merge "Fix Python 3 incompatibility in tripleo-ansible-inventory"

This commit is contained in:
Zuul 2019-10-04 04:53:57 +00:00 committed by Gerrit Code Review
commit a3030df9ea
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ def main():
host_network=configs.ssh_network,
serial=configs.serial)
inventory_keys = inventory_map.keys()
inventory_keys = list(inventory_map)
if len(inventory_keys) == 1:
inventory = inventory_map[inventory_keys[0]]
else: