feat: fallback for old immutable files
This commit is contained in:
parent
eac9100146
commit
e2d2ced3ae
|
@ -96,7 +96,11 @@ def get_check_lists(repo_conf: repo.Config) -> Tuple[List[str], List[str]]:
|
|||
for file in repo_conf.files.immutable:
|
||||
file_path = immutable_dir / Path(file).name
|
||||
if not file_path.exists():
|
||||
file_path = immutable_dir / Path(file).name
|
||||
logger.warning(f"Immutable file not found: {file_path}")
|
||||
if not file_path.exists():
|
||||
logger.warning(f"Immutable file not found: {file_path}")
|
||||
logger.warning(f"Skipping {file}")
|
||||
continue
|
||||
immutable_files.append(file_path)
|
||||
file_sums.append(calc_sha256sum(file_path))
|
||||
|
|
Loading…
Reference in New Issue
Block a user