Skip to content

Commit

Permalink
parens were causing this to quietly fail
Browse files Browse the repository at this point in the history
  • Loading branch information
shaneknapp committed Sep 24, 2024
1 parent 387e8eb commit 8693e22
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/scripts/determine-hub-deployments.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@ def main(args):
hubs = []

# Deploy all hubs by getting deployment names from the dirs in deployments/
if (
"GITHUB_PR_LABEL_JUPYTERHUB_DEPLOYMENT" or
"GITHUB_PR_LABEL_HUB_IMAGES"
) in os.environ.keys():
if "GITHUB_PR_LABEL_JUPYTERHUB_DEPLOYMENT" or \
"GITHUB_PR_LABEL_HUB_IMAGES" in os.environ.keys():
for deployment in next(os.walk(args.deployments))[1]:
if deployment not in args.ignore:
hubs.append(deployment)
Expand Down

0 comments on commit 8693e22

Please sign in to comment.