diff options
Diffstat (limited to 'gitlab/config.py')
-rw-r--r-- | gitlab/config.py | 3 |
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) |