fnp
/
audio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d34100c
)
Follow symlinks in the repository.
author
Radek Czajka
<rczajka@rczajka.pl>
Tue, 16 Mar 2021 13:07:43 +0000
(14:07 +0100)
committer
Radek Czajka
<rczajka@rczajka.pl>
Tue, 16 Mar 2021 13:07:43 +0000
(14:07 +0100)
src/archive/utils.py
patch
|
blob
|
history
diff --git
a/src/archive/utils.py
b/src/archive/utils.py
index
b8598df
..
35f7a74
100644
(file)
--- 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)
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("/")
for fname in files:
yield os.path.join(path, fname)[root_len:].lstrip("/")