Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit41f141d

Browse files
author
Gauvain Pocentek
committed
[v4] Drop ProjectKeyManager.enable()
1 parente789cee commit41f141d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

‎gitlab/v4/objects.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -854,12 +854,6 @@ def enable(self, key_id):
854854
r=self.gitlab._raw_post(url)
855855
raise_error_from_response(r,GitlabProjectDeployKeyError,201)
856856

857-
defdisable(self,key_id):
858-
"""Disable a deploy key for a project."""
859-
url='/projects/%s/deploy_keys/%s/disable'% (self.parent.id,key_id)
860-
r=self.gitlab._raw_delete(url)
861-
raise_error_from_response(r,GitlabProjectDeployKeyError,200)
862-
863857

864858
classProjectEvent(GitlabObject):
865859
_url='/projects/%(project_id)s/events'

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp