diff options
author | Karel Kočí <cynerd@email.cz> | 2015-08-12 20:31:28 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2015-08-12 20:31:28 +0200 |
commit | 4089d016bb3f09e3171eeb1cc6606914aff453c1 (patch) | |
tree | 99431c625f0081cd3743d8967afe9fb390b8054c /scripts | |
parent | 62763b42386428ada30d0a127181de524bcc21b6 (diff) | |
download | linux-conf-perf-4089d016bb3f09e3171eeb1cc6606914aff453c1.tar.gz linux-conf-perf-4089d016bb3f09e3171eeb1cc6606914aff453c1.tar.bz2 linux-conf-perf-4089d016bb3f09e3171eeb1cc6606914aff453c1.zip |
Catch NoApplicableConfiguration exception in prepare thread
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/loop.py | 5 |
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(): |