Skip to content

Commit

Permalink
fix(config): fix duplicate code
Browse files Browse the repository at this point in the history
Fixes #1094
  • Loading branch information
max-wittig committed May 16, 2020
1 parent 74b3ddc commit ee2df6f
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions gitlab/config.py
Expand Up @@ -145,14 +145,6 @@ def __init__(self, gitlab_id=None, config_files=None):
except Exception:
pass

self.http_username = None
self.http_password = None
try:
self.http_username = self._config.get(self.gitlab_id, "http_username")
self.http_password = self._config.get(self.gitlab_id, "http_password")
except Exception:
pass

self.api_version = "4"
try:
self.api_version = self._config.get("global", "api_version")
Expand Down

0 comments on commit ee2df6f

Please sign in to comment.