Skip to content

Commit 99cea1a

Browse files
committed
Fix translation_status.py script
1 parent 584e223 commit 99cea1a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

scripts/translation_status.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ def collect_files(paths):
3232
for arg in paths:
3333
p = Path(arg)
3434
if p.is_dir():
35-
files.extend(sorted(p.rglob("*.po")))
35+
for f in p.rglob("*.po"):
36+
if any(part.startswith(".") for part in f.parts):
37+
continue
38+
files.append(f)
3639
elif p.suffix == ".po":
3740
files.append(p)
3841
return files

0 commit comments

Comments
 (0)