Skip to content

Commit 15ec41c

Browse files
fix: wrong variable name
Discovered this when I ran flake8 on the file. Unfortunately I was the one who introduced this wrong variable name :(
1 parent 0b67ca2 commit 15ec41c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def main():
188188
sys.exit(e)
189189
# We only support v4 API at this time
190190
if config.api_version not in ("4",):
191-
raise ModuleNotFoundError(name="gitlab.v%s.cli" % self._api_version)
191+
raise ModuleNotFoundError(name="gitlab.v%s.cli" % config.api_version)
192192

193193
# Now we build the entire set of subcommands and do the complete parsing
194194
parser = _get_parser(gitlab.v4.cli)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

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:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy