Skip to content

Commit 665c0c3

Browse files
authored
Merge pull request #1332 from JohnVillalovos/jlvillal/fix_variable
chore: fix wrong variable name in cli.py
2 parents 0b67ca2 + 15ec41c commit 665c0c3

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