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

Commitb9eb10a

Browse files
author
Gauvain Pocentek
committed
202 is expected on some delete operations
1 parentcd18aee commitb9eb10a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎gitlab/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ def delete(self, obj, id=None, **kwargs):
495495

496496
r=self._raw_delete(url,**params)
497497
raise_error_from_response(r,GitlabDeleteError,
498-
expected_code=[200,204])
498+
expected_code=[200,202,204])
499499
returnTrue
500500

501501
defcreate(self,obj,**kwargs):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp