Skip to content

Commit d85574e

Browse files
thetwojByron
authored andcommitted
1 parent 6244c55 commit d85574e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: git/remote.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ def _get_push_info(self, proc, progress):
717717
# read the lines manually as it will use carriage returns between the messages
718718
# to override the previous one. This is why we read the bytes manually
719719
progress_handler = progress.new_message_handler()
720-
output = IterableList('name')
720+
output = []
721721

722722
def stdout_handler(line):
723723
try:
@@ -833,7 +833,7 @@ def push(self, refspec=None, progress=None, **kwargs):
833833
:note: No further progress information is returned after push returns.
834834
:param kwargs: Additional arguments to be passed to git-push
835835
:return:
836-
IterableList(PushInfo, ...) iterable list of PushInfo instances, each
836+
list(PushInfo, ...) list of PushInfo instances, each
837837
one informing about an individual head which had been updated on the remote
838838
side.
839839
If the push contains rejected heads, these will have the PushInfo.ERROR bit set

Diff for: git/test/test_remote.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ def _assert_push_and_pull(self, remote, rw_repo, remote_repo):
325325
self._commit_random_file(rw_repo)
326326
progress = TestRemoteProgress()
327327
res = remote.push(lhead.reference, progress)
328-
self.assertIsInstance(res, IterableList)
328+
self.assertIsInstance(res, list)
329329
self._do_test_push_result(res, remote)
330330
progress.make_assertion()
331331

0 commit comments

Comments
 (0)