Skip to content

Commit f0152dc

Browse files
nejchJohnVillalovos
authored andcommitted
chore(mixins): remove None check as http_get always returns value
1 parent df072e1 commit f0152dc

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
if TYPE_CHECKING:
143143
assert self.path is not None
144144
server_data = self.gitlab.http_get(self.path, **kwargs)
145-
if server_data is None:
146-
return None
147145
if TYPE_CHECKING:
148146
assert not isinstance(server_data, requests.Response)
149147
assert self._obj_cls is not None

0 commit comments

Comments
 (0)