diff options
-rw-r--r-- | resources/tools/presentation/input_data_parser.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/resources/tools/presentation/input_data_parser.py b/resources/tools/presentation/input_data_parser.py index 20974f1f05..ef661a8395 100644 --- a/resources/tools/presentation/input_data_parser.py +++ b/resources/tools/presentation/input_data_parser.py @@ -1331,7 +1331,10 @@ class InputData(object): for job, builds in self._cfg.builds.items(): for build in builds: - work_queue.put((job, build, repeat)) + try: + work_queue.put((job, build, repeat)) + except (MemoryError, EOFError) as err: + logging.error(repr(err)) work_queue.join() @@ -1370,7 +1373,6 @@ class InputData(object): except (MemoryError, EOFError) as err: logging.error(repr(err)) - raise del data_queue |