Skip to content

Commit ee2df6f

Browse files
committed
fix(config): fix duplicate code
Fixes #1094
1 parent 74b3ddc commit ee2df6f

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

gitlab/config.py

-8
Original file line numberDiff line numberDiff line change
@@ -145,14 +145,6 @@ def __init__(self, gitlab_id=None, config_files=None):
145145
except Exception:
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-
except Exception:
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)