summaryrefslogtreecommitdiff
path: root/gitlab/config.py
diff options
context:
space:
mode:
authorKay-Uwe (Kiwi) Lorenz <kiwi@moduleworks.com>2021-03-07 15:58:19 +0100
committerKay-Uwe (Kiwi) Lorenz <kiwi@moduleworks.com>2021-03-07 15:58:19 +0100
commit7a7c9fd932def75a2f2c517482784e445d83881a (patch)
treea3c08a9bf71ec5054ed7206f591d7e7ea93f7638 /gitlab/config.py
parent9dfb4cd97e6eb5bbfc29935cbb190b70b739cf9f (diff)
downloadgitlab-7a7c9fd932def75a2f2c517482784e445d83881a.tar.gz
chore: make lint happy
Diffstat (limited to 'gitlab/config.py')
-rw-r--r--gitlab/config.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gitlab/config.py b/gitlab/config.py
index f3fea4f..d9da5b3 100644
--- a/gitlab/config.py
+++ b/gitlab/config.py
@@ -39,6 +39,7 @@ HELPER_PREFIX = "helper:"
HELPER_ATTRIBUTES = ["job_token", "http_password", "private_token", "oauth_token"]
+
class ConfigError(Exception):
pass
@@ -210,4 +211,4 @@ class GitlabConfigParser(object):
if value.lower().strip().startswith(HELPER_PREFIX):
helper = expanduser(value[len(HELPER_PREFIX) :].strip())
value = subprocess.check_output([helper]).decode("utf-8").strip()
- setattr(self, attr, value) \ No newline at end of file
+ setattr(self, attr, value)