Fix lint error
This commit is contained in:
parent
22b88b438f
commit
9cb10d200d
@ -249,7 +249,7 @@ def command(ctx, include, exclude, git_ssh, check_only, pull, branches, branches
|
|||||||
error_exit(f"stack {stack} does not exist")
|
error_exit(f"stack {stack} does not exist")
|
||||||
with stack_file_path:
|
with stack_file_path:
|
||||||
stack_config = yaml.safe_load(open(stack_file_path, "r"))
|
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")
|
error_exit(f"stack {stack} does not define any repositories")
|
||||||
else:
|
else:
|
||||||
repos_in_scope = stack_config["repos"]
|
repos_in_scope = stack_config["repos"]
|
||||||
|
Loading…
Reference in New Issue
Block a user