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

Commit279704f

Browse files
author
Gauvain Pocentek
committed
Fix URL for branch.unprotect
1 parent95a3fe6 commit279704f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎gitlab/v4/objects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ def unprotect(self, **kwargs):
566566
GitlabAuthenticationError: If authentication is not correct
567567
GitlabProtectError: If the branch could not be unprotected
568568
"""
569-
path='%s/%s/protect'% (self.manager.path,self.get_id())
569+
path='%s/%s/unprotect'% (self.manager.path,self.get_id())
570570
self.manager.gitlab.http_put(path,**kwargs)
571571
self._attrs['protected']=False
572572

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp