summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects/deploy_keys.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/v4/objects/deploy_keys.py')
-rw-r--r--gitlab/v4/objects/deploy_keys.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/v4/objects/deploy_keys.py b/gitlab/v4/objects/deploy_keys.py
index 82a5855..9233805 100644
--- a/gitlab/v4/objects/deploy_keys.py
+++ b/gitlab/v4/objects/deploy_keys.py
@@ -29,7 +29,7 @@ class ProjectKey(SaveMixin, ObjectDeleteMixin, RESTObject):
class ProjectKeyManager(CRUDMixin, RESTManager):
- _path = "/projects/%(project_id)s/deploy_keys"
+ _path = "/projects/{project_id}/deploy_keys"
_obj_cls = ProjectKey
_from_parent_attrs = {"project_id": "id"}
_create_attrs = RequiredOptional(required=("title", "key"), optional=("can_push",))