From f0a885748fa370d5bd8ef2173fc68543be907fd1 Mon Sep 17 00:00:00 2001 From: lxnay Date: Sat, 3 May 2008 16:55:52 +0000 Subject: [PATCH] Entropy/FileUpdatesInterface fix a small bug in scanfs causing duplicated names (not full paths) to be discarded git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1915 cd1c1023-2f26-0410-ae45-c471fc1f0318 --- libraries/entropy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/entropy.py b/libraries/entropy.py index 689d4d78e..818f3fc01 100644 --- a/libraries/entropy.py +++ b/libraries/entropy.py @@ -5234,9 +5234,9 @@ class FileUpdatesInterface: if item[9] != "_": # no valid format provided continue - if item in name_cache: + if filepath in name_cache: continue # skip, already done - name_cache.add(item) + name_cache.add(filepath) mydict = self.generate_dict(filepath) if mydict['automerge']: