We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0401087 commit 6d0f693Copy full SHA for 6d0f693
git/remote.py
@@ -573,8 +573,9 @@ def my_progress_handler(line):
573
fp.close()
574
575
# NOTE: We assume to fetch at least enough progress lines to allow matching each fetch head line with it.
576
- assert len(fetch_info_lines) >= len(fetch_head_info), "len(%s) <= len(%s)" % (fetch_head_info,
577
- fetch_info_lines)
+ l_fil = len(fetch_info_lines)
+ l_fhi = len(fetch_head_info)
578
+ assert l_fil >= l_fhi, "len(%s) <= len(%s)" % (l_fil, l_fhi)
579
580
output.extend(FetchInfo._from_line(self.repo, err_line, fetch_line)
581
for err_line, fetch_line in zip(fetch_info_lines, fetch_head_info))
0 commit comments