Commit 5846016
committed
[jobs] Catch StopIteration for Python 3.7 compatibility
Since Python 3.7 was introduced, StopIteration exceptions are
raised directly when 'next()' doesn't generate a new item. This
patch adds compatibility other Python versions catching this
exception.
Signed-off-by: Santiago Dueñas <sduenas@bitergia.com>1 parent ea949a0 commit 5846016
1 file changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
468 | 468 | | |
469 | 469 | | |
470 | 470 | | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
0 commit comments