Skip to content

Commit 329cb60

Browse files
committed
make link happy
1 parent d9a80f4 commit 329cb60

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gitlab/config.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -151,12 +151,12 @@ def __init__(
151151
except Exception:
152152
pass
153153

154-
for attr in ('job_token', 'http_password', 'private_token', 'oauth_token'):
154+
for attr in ("job_token", "http_password", "private_token", "oauth_token"):
155155
value = getattr(self, attr)
156-
prefix = 'lookup:'
156+
prefix = "lookup:"
157157
if isinstance(value, str) and value.lower().strip().startswith(prefix):
158158
helper = value[len(prefix):].strip()
159-
value = subprocess.check_output(helper, shell=True).decode('utf-8').strip()
159+
value = subprocess.check_output(helper, shell=True).decode("utf-8").strip()
160160
setattr(self, attr, value)
161161

162162
self.api_version = "4"

0 commit comments

Comments
 (0)