add followlinks to all os.walk() calls

This commit is contained in:
Lincoln Stein
2023-08-17 18:54:18 -04:00
parent 842eb4bb0a
commit bc16b50302
2 changed files with 2 additions and 2 deletions

View File

@ -116,7 +116,7 @@ class MigrateTo3(object):
appropriate location within the destination models directory.
"""
directories_scanned = set()
for root, dirs, files in os.walk(src_dir):
for root, dirs, files in os.walk(src_dir, followlinks=True):
for d in dirs:
try:
model = Path(root, d)