be tolerant when <boxtyp>_system does not exist

This commit is contained in:
l_samenv
2024-05-14 11:43:57 +02:00
parent 390294d28a
commit 7b1c63ac26

View File

@ -356,6 +356,8 @@ def create_if(name, cfg):
def walk(action):
for rootpath in TO_SYSTEM:
if not exists(rootpath):
continue
os.chdir(rootpath)
for dirpath, _, files in os.walk('.'):
syspath = dirpath[1:] # remove leading '.'