From 35a3d5f7f8a53e667d3196aa72be5b495b70e91f Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Mon, 6 Apr 2020 13:25:54 +0800 Subject: [PATCH] qa/tasks/keystone.py: use list(a_dict) for concatenating lists `dict.items()` does not return a list in python3, so we need to convert it to a list first. Signed-off-by: Kefu Chai --- qa/tasks/keystone.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/tasks/keystone.py b/qa/tasks/keystone.py index 4ef4707c5cd0..88abd7b97801 100644 --- a/qa/tasks/keystone.py +++ b/qa/tasks/keystone.py @@ -292,7 +292,7 @@ def run_section_cmds(ctx, cclient, section_cmd, special, for section_item in section_config_list: run_in_keystone_venv(ctx, cclient, [ 'openstack' ] + section_cmd.split() + - dict_to_args(special, auth_section + section_item.items()) + + dict_to_args(special, auth_section + list(section_item.items())) + [ '--debug' ]) def create_endpoint(ctx, cclient, service, url, adminurl=None): -- 2.47.3