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

Commitc937338

Browse files
authored
Merge pull request#937 from sathieu/fix_labels_save
fix(labels): ensure label.save() works
2 parents9608886 +727f536 commitc937338

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎gitlab/v4/objects.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@ def update(self, name, new_data=None, **kwargs):
914914
new_data=new_dataor {}
915915
ifname:
916916
new_data["name"]=name
917-
super().update(id=None,new_data=new_data,**kwargs)
917+
returnsuper().update(id=None,new_data=new_data,**kwargs)
918918

919919
# Delete without ID.
920920
@exc.on_http_error(exc.GitlabDeleteError)
@@ -3049,7 +3049,7 @@ def update(self, name, new_data=None, **kwargs):
30493049
new_data=new_dataor {}
30503050
ifname:
30513051
new_data["name"]=name
3052-
super().update(id=None,new_data=new_data,**kwargs)
3052+
returnsuper().update(id=None,new_data=new_data,**kwargs)
30533053

30543054
# Delete without ID.
30553055
@exc.on_http_error(exc.GitlabDeleteError)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp