be tolerant when <boxtyp>_system does not exist
This commit is contained in:
1 parent
390294d28a
commit
7b1c63ac26
1 file changed
+2
@@ -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 '.'
|
||||
|
||||
Reference in new issue
Block a user