summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects/milestones.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/v4/objects/milestones.py')
-rw-r--r--gitlab/v4/objects/milestones.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gitlab/v4/objects/milestones.py b/gitlab/v4/objects/milestones.py
index 53ad66d..4d73451 100644
--- a/gitlab/v4/objects/milestones.py
+++ b/gitlab/v4/objects/milestones.py
@@ -79,7 +79,7 @@ class GroupMilestone(SaveMixin, ObjectDeleteMixin, RESTObject):
class GroupMilestoneManager(CRUDMixin, RESTManager):
- _path = "/groups/%(group_id)s/milestones"
+ _path = "/groups/{group_id}/milestones"
_obj_cls = GroupMilestone
_from_parent_attrs = {"group_id": "id"}
_create_attrs = RequiredOptional(
@@ -153,7 +153,7 @@ class ProjectMilestone(PromoteMixin, SaveMixin, ObjectDeleteMixin, RESTObject):
class ProjectMilestoneManager(CRUDMixin, RESTManager):
- _path = "/projects/%(project_id)s/milestones"
+ _path = "/projects/{project_id}/milestones"
_obj_cls = ProjectMilestone
_from_parent_attrs = {"project_id": "id"}
_create_attrs = RequiredOptional(