Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork938
Commitc3c008c
committed
In Submodule.iter_items, don't attach second empty iterator
This fixes the minor bug where a separate empty iterator was boundto the StopIteration exception raised as a result of returning fromthe generator function (#1779).This change does not cause what exceptions are raised fromGitPython code in any situations, nor how many items any iteratorsyield.1 parentf5dc1c4 commitc3c008c
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1401 | 1401 |
| |
1402 | 1402 |
| |
1403 | 1403 |
| |
1404 |
| - | |
| 1404 | + | |
1405 | 1405 |
| |
1406 | 1406 |
| |
1407 | 1407 |
| |
|
0 commit comments
Comments
(0)