diff options
-rw-r--r-- | meta/lib/oeqa/core/threaded.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/lib/oeqa/core/threaded.py b/meta/lib/oeqa/core/threaded.py index c6058a3e52..2cafe03a21 100644 --- a/meta/lib/oeqa/core/threaded.py +++ b/meta/lib/oeqa/core/threaded.py | |||
@@ -185,9 +185,10 @@ class OETestResultThreaded(object): | |||
185 | self.tc.logger.info(msg) | 185 | self.tc.logger.info(msg) |
186 | 186 | ||
187 | def logDetails(self): | 187 | def logDetails(self): |
188 | tid = list(self._results)[0] | 188 | if list(self._results): |
189 | result = self._results[tid]['result'] | 189 | tid = list(self._results)[0] |
190 | result.logDetails() | 190 | result = self._results[tid]['result'] |
191 | result.logDetails() | ||
191 | 192 | ||
192 | class _Worker(threading.Thread): | 193 | class _Worker(threading.Thread): |
193 | """Thread executing tasks from a given tasks queue""" | 194 | """Thread executing tasks from a given tasks queue""" |