mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-19 04:21:17 +00:00
cd0863d7fa
Previously the try clause worked to catch StopIteration exceptions correctly, however upon catching the exception, another statment which set self._duration to (last.time - first.time) was being run regardless, which defeated the point of the try clause. This has been fixed by introducing an else clause to contain said statement.