1
0
Fork 1
mirror of https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git synced 2025-07-25 21:45:11 +03:00

pmb, tests: Enable Refurb checks

Simplifies some code.
This commit is contained in:
Newbyte 2025-05-26 21:17:21 +02:00
parent 83a88c4ea7
commit fc8fd02213
12 changed files with 20 additions and 29 deletions

View file

@ -34,8 +34,7 @@ GITLAB_HOSTS = [
def init_req_headers() -> None:
global req_headers
global req_headers_github
global req_headers, req_headers_github
# Only initialize them once
if req_headers and req_headers_github:
return