From b84d414ef7c9a0392449f8197f7f0cd04ffad454 Mon Sep 17 00:00:00 2001 From: Thomas Bachman Date: Sat, 19 Sep 2020 20:36:26 +0000 Subject: [PATCH] Fix for ussuri The ussuri branch of the pythonclient wasn't working, as the map needed to be converted back into a list. This patch fixes that. Change-Id: I04f9a282462081ab7ebe29c9e9c90cb032898d5f --- gbpclient/gbpshell.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gbpclient/gbpshell.py b/gbpclient/gbpshell.py index f895d7e..32128c0 100644 --- a/gbpclient/gbpshell.py +++ b/gbpclient/gbpshell.py @@ -933,8 +933,8 @@ class GBPShell(app.App): def main(argv=sys.argv[1:]): try: - return GBPShell(NEUTRON_API_VERSION).run(map(encodeutils.safe_decode, - argv)) + return GBPShell(NEUTRON_API_VERSION).run( + list(map(encodeutils.safe_decode, argv))) except exc.NeutronClientException: return 1 except Exception as e: