summaryrefslogtreecommitdiff
path: root/lib/git/blob.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2009-10-11 21:17:59 +0200
committerSebastian Thiel <byronimo@gmail.com>2009-10-11 21:17:59 +0200
commit708b8dda8e7b87841a5f39c60b799c514e75a9c7 (patch)
tree0726d95c0ad6270278c6695381522e8a5f8a2b76 /lib/git/blob.py
parentccde80b7a3037a004a7807a6b79916ce2a1e9729 (diff)
downloadgitpython-708b8dda8e7b87841a5f39c60b799c514e75a9c7.tar.gz
commit: fixed failing commit tests as the mocked git command would always return the same thing which does not work anymore - re-implemented it in a more dynamic manner, but in the end tests will have to be revised anyway
Added slots to Diff and Stats type respectively
Diffstat (limited to 'lib/git/blob.py')
-rw-r--r--lib/git/blob.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/git/blob.py b/lib/git/blob.py
index b0e47a3c..1fafb128 100644
--- a/lib/git/blob.py
+++ b/lib/git/blob.py
@@ -57,7 +57,7 @@ class Blob(base.IndexObject):
blames = []
info = None
- for line in data.splitlines():
+ for line in data.splitlines(False):
parts = cls.re_whitespace.split(line, 1)
firstpart = parts[0]
if cls.re_hexsha_only.search(firstpart):