Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information