diff --git a/gitlab/cli.py b/gitlab/cli.py index 3a315a807..485bbbb39 100644 --- a/gitlab/cli.py +++ b/gitlab/cli.py @@ -188,7 +188,7 @@ def main(): sys.exit(e) # We only support v4 API at this time if config.api_version not in ("4",): - raise ModuleNotFoundError(name="gitlab.v%s.cli" % self._api_version) + raise ModuleNotFoundError(name="gitlab.v%s.cli" % config.api_version) # Now we build the entire set of subcommands and do the complete parsing parser = _get_parser(gitlab.v4.cli)
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: