aboutsummaryrefslogtreecommitdiff
path: root/tatt
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2017-12-22 23:33:13 +0100
committerkensington <kensington@gentoo.org>2017-12-23 11:21:30 +1100
commit86dce91954579a6df9fd3831eee3c0fa7785a319 (patch)
tree8b21cb8f2a32b1ef14cc43bbb41bea5be5d49e05 /tatt
parentkeep trying to find valid use flag combinations until the configured limit is... (diff)
downloadtatt-86dce91954579a6df9fd3831eee3c0fa7785a319.tar.gz
tatt-86dce91954579a6df9fd3831eee3c0fa7785a319.tar.bz2
tatt-86dce91954579a6df9fd3831eee3c0fa7785a319.zip
fix endless loop with invalid use flags
The set of already tested use combinations was never filled, so the loop may run forever.
Diffstat (limited to 'tatt')
-rw-r--r--tatt/usecombis.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tatt/usecombis.py b/tatt/usecombis.py
index 70ba308..d8f8e37 100644
--- a/tatt/usecombis.py
+++ b/tatt/usecombis.py
@@ -55,6 +55,7 @@ def findUseFlagCombis (package, config, port):
if r in rnds:
# already checked
continue
+ rnds.add(r)
if not check_uses(ruse, uselist, r, package):
# invalid combination