[Xfce4-commits] [apps/catfish] 01/01: Walk Method: Consider symlinks as visited only after actually following them (bug #16318)

noreply at xfce.org noreply at xfce.org
Wed Jan 15 02:04:55 CET 2020


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 fdb9376dc63a3433814810adbf581af0d78813f6
Author: Filip Brygidyn <git at koumakan.org>
Date:   Mon Dec 30 18:13:49 2019 +0100

    Walk Method: Consider symlinks as visited only after actually following them (bug #16318)
    
    The bugfix attempt in cac84de5 was incorrect and was adding links to 'processed_links' list preemptively when visiting the link location path. The correct behavior is to add it to the list when visiting the link target path instead.
    
    Signed-off-by: Sean Davis <smd.seandavis at gmail.com>
---
 catfish/CatfishSearchEngine.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/catfish/CatfishSearchEngine.py b/catfish/CatfishSearchEngine.py
index cb22244..d293e96 100644
--- a/catfish/CatfishSearchEngine.py
+++ b/catfish/CatfishSearchEngine.py
@@ -337,7 +337,6 @@ class CatfishSearchMethod_Walk(CatfishSearchMethod):
                 # Link: ~/.wine/dosdevices/z:/ -> /
                 if realroot.startswith(realpath):
                     continue
-                processed_links.append(realpath)
             if os.path.basename(path).startswith("."):
                 if islink:
                     dotlinks.append(path)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list