summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects/push_rules.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/v4/objects/push_rules.py')
-rw-r--r--gitlab/v4/objects/push_rules.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/v4/objects/push_rules.py b/gitlab/v4/objects/push_rules.py
index d8cfafa..89c3e64 100644
--- a/gitlab/v4/objects/push_rules.py
+++ b/gitlab/v4/objects/push_rules.py
@@ -23,7 +23,7 @@ class ProjectPushRules(SaveMixin, ObjectDeleteMixin, RESTObject):
class ProjectPushRulesManager(
GetWithoutIdMixin, CreateMixin, UpdateMixin, DeleteMixin, RESTManager
):
- _path = "/projects/%(project_id)s/push_rule"
+ _path = "/projects/{project_id}/push_rule"
_obj_cls = ProjectPushRules
_from_parent_attrs = {"project_id": "id"}
_create_attrs = RequiredOptional(