We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7e327b8 + 300fd88 commit c92a655Copy full SHA for c92a655
buildbot_nix/github_projects.py
@@ -572,7 +572,7 @@ def load_projects(self) -> list["GitProject"]:
572
573
if isinstance(self.auth_backend, GithubAppAuthBackend):
574
dropped_repos = list(
575
- filter(lambda repo: not "installation_id" in repo, repos)
+ filter(lambda repo: "installation_id" not in repo, repos)
576
)
577
if dropped_repos:
578
tlog.info(
@@ -611,7 +611,7 @@ def are_projects_cached(self) -> bool:
611
612
all_have_installation_id = True
613
for project in json.loads(self.config.project_cache_file.read_text()):
614
- if not "installation_id" in project:
+ if "installation_id" not in project:
615
all_have_installation_id = False
616
break
617
0 commit comments