diff options
author | John L. Villalovos <john@sodarock.com> | 2022-01-13 11:17:40 -0800 |
---|---|---|
committer | John L. Villalovos <john@sodarock.com> | 2022-01-13 11:17:40 -0800 |
commit | b07eece0a35dbc48076c9ec79f65f1e3fa17a872 (patch) | |
tree | 7a3109087cee26308c4359d4cdcdada8999d5b22 /gitlab/v4/objects/features.py | |
parent | a2e7c383e10509b6eb0fa8760727036feb0807c8 (diff) | |
download | gitlab-jlvillal/encoded_id.tar.gz |
chore: replace usage of utils._url_encode() with utils.EncodedId()jlvillal/encoded_id
utils.EncodedId() has basically the same functionalityy of using
utils._url_encode(). So remove utils._url_encode() as we don't need
it.
Diffstat (limited to 'gitlab/v4/objects/features.py')
-rw-r--r-- | gitlab/v4/objects/features.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/v4/objects/features.py b/gitlab/v4/objects/features.py index 69689fa..1631a26 100644 --- a/gitlab/v4/objects/features.py +++ b/gitlab/v4/objects/features.py @@ -52,7 +52,7 @@ class FeatureManager(ListMixin, DeleteMixin, RESTManager): Returns: The created/updated attribute """ - name = utils._url_encode(name) + name = utils.EncodedId(name) path = f"{self.path}/{name}" data = { "value": value, |