From fbd02d519b365d24267f292a6caf5804078dd9d1 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Tue, 16 Mar 2021 14:07:43 +0100 Subject: [PATCH] Follow symlinks in the repository. --- src/archive/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/archive/utils.py b/src/archive/utils.py index b8598df..35f7a74 100644 --- a/src/archive/utils.py +++ b/src/archive/utils.py @@ -37,6 +37,6 @@ def sha1_file(f): def all_files(root_path): root_len = len(root_path) - for path, dirs, files in os.walk(root_path): + for path, dirs, files in os.walk(root_path, followlinks=True): for fname in files: yield os.path.join(path, fname)[root_len:].lstrip("/") -- 2.20.1