summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2014-06-04 10:06:34 +0200
committerSebastian Thiel <byronimo@gmail.com>2014-06-04 10:06:34 +0200
commit4bc91d7495d7eb70a70c1f025137718f41486cd2 (patch)
treed103d6f852a9bf4d2e12c8a30c167db10c6db2cd
parentf24786fca46b054789d388975614097ae71c252e (diff)
downloadgitpython-4bc91d7495d7eb70a70c1f025137718f41486cd2.tar.gz
HACK: Removed assertion just to be a bit less annoyed by constant fail
-rw-r--r--git/remote.py5
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))