[Xfce4-commits] [apps/catfish] 01/01: Traverse dirs top-down in 'walk' method (bug #15206)
noreply at xfce.org
noreply at xfce.org
Mon Jul 22 19:58:14 CEST 2019
This is an automated email from the git hooks/post-receive script.
b l u e s a b r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository apps/catfish.
commit 61f49ecab9fd830a1a17e17d6134015b970f0305
Author: Filip Brygidyn <git at koumakan.org>
Date: Sat Mar 16 21:09:20 2019 +0100
Traverse dirs top-down in 'walk' method (bug #15206)
Signed-off-by: Sean Davis <smd.seandavis at gmail.com>
---
catfish/CatfishSearchEngine.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/catfish/CatfishSearchEngine.py b/catfish/CatfishSearchEngine.py
index a36032e..5d65f2d 100644
--- a/catfish/CatfishSearchEngine.py
+++ b/catfish/CatfishSearchEngine.py
@@ -310,7 +310,7 @@ class CatfishSearchMethod_Walk(CatfishSearchMethod):
self.running = True
if isinstance(keywords, str):
keywords = keywords.replace(',', ' ').strip().split()
- for root, dirs, files in os.walk(path, False):
+ for root, dirs, files in os.walk(path):
dirs[:] = [d for d in dirs if os.path.join(root, d) not in exclude]
if not self.running:
break
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list