We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9a80f4 commit 329cb60Copy full SHA for 329cb60
gitlab/config.py
@@ -151,12 +151,12 @@ def __init__(
151
except Exception:
152
pass
153
154
- for attr in ('job_token', 'http_password', 'private_token', 'oauth_token'):
+ for attr in ("job_token", "http_password", "private_token", "oauth_token"):
155
value = getattr(self, attr)
156
- prefix = 'lookup:'
+ prefix = "lookup:"
157
if isinstance(value, str) and value.lower().strip().startswith(prefix):
158
helper = value[len(prefix):].strip()
159
- value = subprocess.check_output(helper, shell=True).decode('utf-8').strip()
+ value = subprocess.check_output(helper, shell=True).decode("utf-8").strip()
160
setattr(self, attr, value)
161
162
self.api_version = "4"
0 commit comments