mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-19 15:28:28 +01:00
remote local, repo: use walk_files instead of os.walk (#1750)
This commit is contained in:
committed by
Ruslan Kuprieiev
parent
24072c8083
commit
5a736cb79a
@@ -242,6 +242,6 @@ def load_stage_file(path):
|
||||
|
||||
|
||||
def walk_files(directory):
|
||||
for root, _, files in os.walk(directory):
|
||||
for root, _, files in os.walk(str(directory)):
|
||||
for f in files:
|
||||
yield os.path.join(root, f)
|
||||
|
||||
Reference in New Issue
Block a user