From: Kefu Chai Date: Mon, 6 Apr 2020 05:25:54 +0000 (+0800) Subject: qa/tasks/keystone.py: use list(a_dict) for concatenating lists X-Git-Tag: v16.1.0~2648^2~25 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=35a3d5f7f8a53e667d3196aa72be5b495b70e91f;p=ceph.git 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 --- diff --git a/qa/tasks/keystone.py b/qa/tasks/keystone.py index 4ef4707c5cd0b..88abd7b978013 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):