summaryrefslogtreecommitdiff
path: root/gitlab/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/base.py')
-rw-r--r--gitlab/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/base.py b/gitlab/base.py
index 96e770c..0706ffb 100644
--- a/gitlab/base.py
+++ b/gitlab/base.py
@@ -223,7 +223,7 @@ class RESTObject(object):
path"""
obj_id = self.get_id()
if isinstance(obj_id, str):
- obj_id = gitlab.utils._url_encode(obj_id)
+ obj_id = gitlab.utils.EncodedId(obj_id)
return obj_id
@property