FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(config): fix duplicate code · python-gitlab/python-gitlab@ee2df6f · GitHub

Repository navigation

Commit ee2df6f

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

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

‎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
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)

Back | FazBrowse Home | New Git URL