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: