Move data files into subdirectory

This commit is contained in:
David Boreham 2022-11-15 11:34:13 -07:00
parent 7a5834a021
commit 5a69bf471b
6 changed files with 3 additions and 3 deletions

View File

@ -55,7 +55,7 @@ def command(ctx, include, exclude):
if not os.path.isdir(dev_root_path):
print('Dev root directory doesn\'t exist, creating')
with open("container-image-list.txt") as container_list_file:
with open("data/container-image-list.txt") as container_list_file:
containers = container_list_file.read().splitlines()
if verbose:

View File

@ -48,7 +48,7 @@ def command(ctx, include, exclude, cluster, command, services):
if verbose:
print(f"Using cluster name: {cluster}")
with open("pod-list.txt") as pod_list_file:
with open("data/pod-list.txt") as pod_list_file:
pods = pod_list_file.read().splitlines()
if verbose:

View File

@ -89,7 +89,7 @@ def command(ctx, include, exclude, check_only, pull, branches_file):
print('Dev root directory doesn\'t exist, creating')
os.makedirs(dev_root_path)
with open("repository-list.txt") as repository_list_file:
with open("data/repository-list.txt") as repository_list_file:
all_repos = repository_list_file.read().splitlines()
if verbose: