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

Commit242cf65

Browse files
Merge pull request#1099 from python-gitlab/fix/duplicate-code
fix(config): fix duplicate code
2 parents74b3ddc +ee2df6f commit242cf65

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

‎gitlab/config.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -145,14 +145,6 @@ def __init__(self, gitlab_id=None, config_files=None):
145145
exceptException:
146146
pass
147147

148-
self.http_username=None
149-
self.http_password=None
150-
try:
151-
self.http_username=self._config.get(self.gitlab_id,"http_username")
152-
self.http_password=self._config.get(self.gitlab_id,"http_password")
153-
exceptException:
154-
pass
155-
156148
self.api_version="4"
157149
try:
158150
self.api_version=self._config.get("global","api_version")

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp