aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2019-07-30 15:49:42 +0200
committerTibor Frank <tifrank@cisco.com>2019-07-30 15:49:42 +0200
commitf966718dfe763e48f2cc89e9ede2408a0f782d1b (patch)
treed2a1adc198b5026d30922e38cb4ab182081bf347 /resources/tools/presentation
parent6f725c52429e697e1d03ebccc72a443ac3655298 (diff)
Trending: Reduce input data
Change-Id: I25c74c00f95aa2e3c2f7c1780e39e3f6262afc0e Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation')
-rw-r--r--resources/tools/presentation/input_data_parser.py6
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