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

Commitf0152dc

Browse files
nejchJohnVillalovos
authored andcommitted
chore(mixins): remove None check as http_get always returns value
1 parentdf072e1 commitf0152dc

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

‎gitlab/mixins.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,6 @@ def get(
142142
ifTYPE_CHECKING:
143143
assertself.pathisnotNone
144144
server_data=self.gitlab.http_get(self.path,**kwargs)
145-
ifserver_dataisNone:
146-
returnNone
147145
ifTYPE_CHECKING:
148146
assertnotisinstance(server_data,requests.Response)
149147
assertself._obj_clsisnotNone

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp