Commit 0e8d18f
Adding iterator reset for Rules iteration (#59)
When iterating over a Rules object, the iteration would work for a
single pass before throwing a StopIteration exception. This slightly
changes the iteration logic to reset to the iteration list head after
a full iteration has been completed.1 parent b53ffc8 commit 0e8d18f
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1278 | 1278 | | |
1279 | 1279 | | |
1280 | 1280 | | |
| 1281 | + | |
1281 | 1282 | | |
1282 | 1283 | | |
1283 | 1284 | | |
| |||
0 commit comments