From d85574e0f37e82e266a7c56e4a3ded9e9c76d8a6 Mon Sep 17 00:00:00 2001 From: JJ Graham Date: Wed, 23 Oct 2019 20:28:08 -0500 Subject: Fix #820 --- git/remote.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'git/remote.py') diff --git a/git/remote.py b/git/remote.py index 23337a9c..05d7d0db 100644 --- a/git/remote.py +++ b/git/remote.py @@ -717,7 +717,7 @@ class Remote(LazyMixin, Iterable): # read the lines manually as it will use carriage returns between the messages # to override the previous one. This is why we read the bytes manually progress_handler = progress.new_message_handler() - output = IterableList('name') + output = [] def stdout_handler(line): try: @@ -833,7 +833,7 @@ class Remote(LazyMixin, Iterable): :note: No further progress information is returned after push returns. :param kwargs: Additional arguments to be passed to git-push :return: - IterableList(PushInfo, ...) iterable list of PushInfo instances, each + list(PushInfo, ...) list of PushInfo instances, each one informing about an individual head which had been updated on the remote side. If the push contains rejected heads, these will have the PushInfo.ERROR bit set -- cgit v1.2.1