From 4ab0f13a7a736544b7a970ec6b1f3222db3cd731 Mon Sep 17 00:00:00 2001 From: Brian Dolbec Date: Tue, 18 Feb 2014 09:55:17 -0800 Subject: revdep_rebuild/collect.py: Fix incorrect usage of set.union(), should have been set.update() This reduced the total number of binaries significantly by not adding the recursive results to the set. --- pym/gentoolkit/revdep_rebuild/collect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/gentoolkit/revdep_rebuild/collect.py b/pym/gentoolkit/revdep_rebuild/collect.py index 9fba58a..550569d 100644 --- a/pym/gentoolkit/revdep_rebuild/collect.py +++ b/pym/gentoolkit/revdep_rebuild/collect.py @@ -248,7 +248,7 @@ def collect_binaries_from_dir(dirs, mask, logger): blue('%s') %str(ex))) if found_directories: - found_files.union(collect_binaries_from_dir(found_directories, mask, logger)) + found_files.update(collect_binaries_from_dir(found_directories, mask, logger)) return found_files -- cgit v1.2.3