浏览代码

remove redundant default arg

/test-sampler
Chris Elion 5 年前
当前提交
7a48e5ea
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 4
      utils/validate_meta_files.py

4
utils/validate_meta_files.py


unmatched = set()
for asset_path in asset_paths:
for root, dirs, files in os.walk(asset_path, topdown=True):
# Modifying the dirs list with topdown=True will prevent us from recursing those directories
for root, dirs, files in os.walk(asset_path):
# Modifying the dirs list with topdown=True (the default) will prevent us from recursing those directories
for ignored in ignored_dirs:
try:
dirs.remove(ignored)

正在加载...
取消
保存