From b07eece0a35dbc48076c9ec79f65f1e3fa17a872 Mon Sep 17 00:00:00 2001 From: "John L. Villalovos" Date: Thu, 13 Jan 2022 11:17:40 -0800 Subject: chore: replace usage of utils._url_encode() with utils.EncodedId() utils.EncodedId() has basically the same functionalityy of using utils._url_encode(). So remove utils._url_encode() as we don't need it. --- gitlab/v4/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gitlab/v4/cli.py') diff --git a/gitlab/v4/cli.py b/gitlab/v4/cli.py index a76b133..504b7a9 100644 --- a/gitlab/v4/cli.py +++ b/gitlab/v4/cli.py @@ -75,7 +75,7 @@ class GitlabCLI(object): if key not in self.args: continue - self.parent_args[key] = gitlab.utils._url_encode(self.args[key]) + self.parent_args[key] = gitlab.utils.EncodedId(self.args[key]) # If we don't delete it then it will be added to the URL as a query-string del self.args[key] -- cgit v1.2.1