wanghao b63d025135 Fit the StopIteration for py37
In Train we will switch to use py37 for tests.
There is a breaking change between Python 3.6 and 3.7
that is making it an error to raise a StopIteration exception
from a function or generator(https://www.python.org/dev/peps/pep-0479/).
So we need to fix it in code.

Change-Id: I003be4193944bc4176768c488f2f71b58fcbd58d
Closes-Bug: #1837856
Story: #2005924
Task: #34258
2019-08-01 09:07:13 +08:00
..
2015-06-23 15:10:59 +02:00
2019-08-01 09:07:13 +08:00
2019-01-09 23:32:55 -08:00
2019-01-09 23:32:55 -08:00
2018-04-13 14:53:43 +08:00