aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-08-12 20:31:28 +0200
committerKarel Kočí <cynerd@email.cz>2015-08-13 10:14:23 +0200
commit89aceeeafc21816b527c82c133744438eaa48f29 (patch)
treef0f9f3bf0d2ac70e27c8e77a5a5da90f4fef15e8
parentdfffbc03559941bcb3a430cb7319194d31685323 (diff)
downloadlinux-conf-perf-89aceeeafc21816b527c82c133744438eaa48f29.tar.gz
linux-conf-perf-89aceeeafc21816b527c82c133744438eaa48f29.tar.bz2
linux-conf-perf-89aceeeafc21816b527c82c133744438eaa48f29.zip
Catch NoApplicableConfiguration exception in prepare thread
-rwxr-xr-xscripts/loop.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/loop.py b/scripts/loop.py
index fc0ea44..aecda39 100755
--- a/scripts/loop.py
+++ b/scripts/loop.py
@@ -68,7 +68,10 @@ class prepareThread(Thread):
__listlock__.aquire()
while not __terminate__ and len(__conflist__) <= conf.multithread_buffer:
__listlock__.release()
- config = prepare()
+ try:
+ config = prepare()
+ except exceptions.NoApplicableConfiguration:
+ return
__listlock__.aquire()
__conflist__.append(config)
if not __measurethread__.isActive():