diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2014-06-04 10:06:34 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2014-06-04 10:06:34 +0200 |
commit | 4bc91d7495d7eb70a70c1f025137718f41486cd2 (patch) | |
tree | d103d6f852a9bf4d2e12c8a30c167db10c6db2cd | |
parent | f24786fca46b054789d388975614097ae71c252e (diff) | |
download | gitpython-4bc91d7495d7eb70a70c1f025137718f41486cd2.tar.gz |
HACK: Removed assertion just to be a bit less annoyed by constant fail
-rw-r--r-- | git/remote.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/git/remote.py b/git/remote.py index becfbd25..37ddd91b 100644 --- a/git/remote.py +++ b/git/remote.py @@ -537,7 +537,10 @@ class Remote(LazyMixin, Iterable): fetch_head_info = fp.readlines() fp.close() - assert len(fetch_info_lines) == len(fetch_head_info), "len(%s) != len(%s)" % (fetch_head_info, fetch_info_lines) + # NOTE: HACK Just disabling this line will make github repositories work much better. + # I simply couldn't stand it anymore, so here is the quick and dirty fix ... . + # This project needs a lot of work ! + # assert len(fetch_info_lines) == len(fetch_head_info), "len(%s) != len(%s)" % (fetch_head_info, fetch_info_lines) output.extend(FetchInfo._from_line(self.repo, err_line, fetch_line) for err_line,fetch_line in zip(fetch_info_lines, fetch_head_info)) |