Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
dboreham committed Nov 15, 2023
1 parent 22b88b4 commit 9cb10d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stack_orchestrator/repos/setup_repositories.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def command(ctx, include, exclude, git_ssh, check_only, pull, branches, branches
error_exit(f"stack {stack} does not exist")
with stack_file_path:
stack_config = yaml.safe_load(open(stack_file_path, "r"))
if not "repos" in stack_config:
if "repos" not in stack_config:
error_exit(f"stack {stack} does not define any repositories")
else:
repos_in_scope = stack_config["repos"]
Expand Down

0 comments on commit 9cb10d2

Please sign in to comment.