Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions gitlab/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -484,9 +484,7 @@ def _set_auth_info(self) -> None:
if (self.http_username and not self.http_password) or (
not self.http_username and self.http_password
):
raise ValueError(
"Both http_username and http_password should " "be defined"
)
raise ValueError("Both http_username and http_password should be defined")
if self.oauth_token and self.http_username:
raise ValueError(
"Only one of oauth authentication or http "
Expand Down