diff options
| author | Karel Kočí <cynerd@email.cz> | 2015-08-12 20:31:28 +0200 | 
|---|---|---|
| committer | Karel Kočí <cynerd@email.cz> | 2015-08-13 10:14:23 +0200 | 
| commit | 89aceeeafc21816b527c82c133744438eaa48f29 (patch) | |
| tree | f0f9f3bf0d2ac70e27c8e77a5a5da90f4fef15e8 | |
| parent | dfffbc03559941bcb3a430cb7319194d31685323 (diff) | |
| download | linux-conf-perf-89aceeeafc21816b527c82c133744438eaa48f29.tar.gz linux-conf-perf-89aceeeafc21816b527c82c133744438eaa48f29.tar.bz2 linux-conf-perf-89aceeeafc21816b527c82c133744438eaa48f29.zip  | |
Catch NoApplicableConfiguration exception in prepare thread
| -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():  | 
