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

Commit2dd177b

Browse files
committed
refactor(client): let mypy know http_password is set
1 parent8b692e8 commit2dd177b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎gitlab/client.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ def _set_auth_info(self) -> None:
533533
self.headers.pop("PRIVATE-TOKEN",None)
534534
self.headers["JOB-TOKEN"]=self.job_token
535535

536-
ifself.http_username:
536+
ifself.http_usernameandself.http_password:
537537
self._http_auth=requests.auth.HTTPBasicAuth(
538538
self.http_username,self.http_password
539539
)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp