diff --git a/gbpclient/gbpshell.py b/gbpclient/gbpshell.py index 2e993af..54929dc 100644 --- a/gbpclient/gbpshell.py +++ b/gbpclient/gbpshell.py @@ -934,8 +934,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: