In Submodule.iter_items, don't attach second empty iterator · gitpython-developers/GitPython@c3c008c · GitHub
Skip to content

Commit c3c008c

Browse files
committed
In Submodule.iter_items, don't attach second empty iterator
This fixes the minor bug where a separate empty iterator was bound to the StopIteration exception raised as a result of returning from the generator function (#1779). This change does not cause what exceptions are raised from GitPython code in any situations, nor how many items any iterators yield.
1 parent f5dc1c4 commit c3c008c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

git/objects/submodule/base.py

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)