summaryrefslogtreecommitdiff
path: root/git/cmd.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/cmd.py')
-rw-r--r--git/cmd.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/git/cmd.py b/git/cmd.py
index 836aafff..31c0e859 100644
--- a/git/cmd.py
+++ b/git/cmd.py
@@ -497,6 +497,9 @@ class Git(LazyMixin):
# skipcq: PYL-E0301
def __iter__(self):
return self
+
+ def __next__(self):
+ return self.next()
def next(self):
line = self.readline()