Quiet verbose output

This commit is contained in:
David Boreham 2022-11-29 19:54:08 -07:00
parent 28a3880fcf
commit 43d59a9e28
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ def command(ctx, include, exclude, cluster, command, services):
compose_file_name = os.path.join("compose", f"docker-compose-{pod}.yml") compose_file_name = os.path.join("compose", f"docker-compose-{pod}.yml")
compose_files.append(compose_file_name) compose_files.append(compose_file_name)
else: else:
if not quiet: if verbose:
print(f"Excluding: {pod}") print(f"Excluding: {pod}")
if verbose: if verbose:

View File

@ -102,7 +102,7 @@ def command(ctx, include, exclude, git_ssh, check_only, pull, branches_file):
if include_exclude_check(repo, include, exclude): if include_exclude_check(repo, include, exclude):
repos.append(repo) repos.append(repo)
else: else:
if not quiet: if verbose:
print(f"Excluding: {repo}") print(f"Excluding: {repo}")
def process_repo(repo): def process_repo(repo):