From ee2df6f1757658cae20cc1d9dd75be599cf19997 Mon Sep 17 00:00:00 2001 From: Max Wittig Date: Sat, 16 May 2020 15:13:22 +0200 Subject: [PATCH] fix(config): fix duplicate code Fixes #1094 --- gitlab/config.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/gitlab/config.py b/gitlab/config.py index fa2593bce..c8ba89619 100644 --- a/gitlab/config.py +++ b/gitlab/config.py @@ -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")