summaryrefslogtreecommitdiff
path: root/pym
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2014-02-18 09:55:17 -0800
committerBrian Dolbec <dolsen@gentoo.org>2014-02-18 09:55:17 -0800
commit4ab0f13a7a736544b7a970ec6b1f3222db3cd731 (patch)
tree2eb7d4e579dab9275739f7dfc07344b6cb0e9a86 /pym
parent6a1b982db786de23bd8a201827be4b3b34c53a75 (diff)
downloadgentoolkit-4ab0f13a7a736544b7a970ec6b1f3222db3cd731.tar.gz
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.
Diffstat (limited to 'pym')
-rw-r--r--pym/gentoolkit/revdep_rebuild/collect.py2
1 files changed, 1 insertions, 1 deletions
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