From 723eaa5e365fb0c18f7f18e68126cd10645b665f Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Fri, 17 Mar 2023 13:36:07 +1000 Subject: [PATCH] tasks.py: format --- tasks.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tasks.py b/tasks.py index c4ceaba..942054c 100644 --- a/tasks.py +++ b/tasks.py @@ -13,9 +13,9 @@ from invoke import task ROOT = Path(__file__).parent.resolve() os.chdir(ROOT) + # Deploy to all hosts in parallel def deploy_nixos(hosts: List[DeployHost]) -> None: - g = DeployGroup(hosts) res = subprocess.run( @@ -121,7 +121,6 @@ def update_hound_repos(c): next_url = "https://api.github.com/orgs/{}/repos".format(org) while next_url is not None: - if github_token is not None: headers = {"Authorization": f"token {github_token}"} repo_resp = requests.get(next_url, headers=headers)