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:
parent
83a88c4ea7
commit
fc8fd02213
12 changed files with 20 additions and 29 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue