diff options
-rw-r--r-- | git/refs/log.py | 2 | ||||
-rw-r--r-- | git/test/test_repo.py | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/git/refs/log.py b/git/refs/log.py index 742c9ccd..e0f92fbe 100644 --- a/git/refs/log.py +++ b/git/refs/log.py @@ -197,6 +197,8 @@ class RefLog(list, Serializable): the index is negative """ fp = open(filepath, 'rb') + # DEBUG + print filepath if index < 0: return RefLogEntry.from_line(fp.readlines()[index].strip()) else: diff --git a/git/test/test_repo.py b/git/test/test_repo.py index 64525ed1..1079cd04 100644 --- a/git/test/test_repo.py +++ b/git/test/test_repo.py @@ -588,8 +588,8 @@ class TestRepo(TestBase): self.failUnlessRaises(NotImplementedError, rev_parse, "@{1 week ago}") # the last position - # For some reason, this test fails on travis - lets gather more information - print self.rorepo + # For some reason, this test fails on travis - even though there is a rev log + # from all I see there. assert rev_parse('@{1}') != head.commit def test_repo_odbtype(self): |