From 89aceeeafc21816b527c82c133744438eaa48f29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 12 Aug 2015 20:31:28 +0200 Subject: Catch NoApplicableConfiguration exception in prepare thread --- scripts/loop.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'scripts') 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(): -- cgit v1.2.3