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
This commit is contained in:
Thomas Bachman 2020-09-19 20:36:26 +00:00
parent bc3bba7fc3
commit b84d414ef7

View File

@ -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: