summaryrefslogtreecommitdiff
path: root/git/objects/commit.py
diff options
context:
space:
mode:
authorJohn L. Walker <john.lou.walker@gmail.com>2015-05-13 17:28:14 -0400
committerJohn L. Walker <john.lou.walker@gmail.com>2015-05-13 17:28:14 -0400
commit9563d27fbde02b8b2a8b0d808759cb235b4e083b (patch)
treeaea30ba8cba250b61da4e2918242d9262c5e368b /git/objects/commit.py
parent2c594195eb614a200e1abb85706ec7b8b7c91268 (diff)
downloadgitpython-9563d27fbde02b8b2a8b0d808759cb235b4e083b.tar.gz
Fix type error (startswith expects bytes)
Diffstat (limited to 'git/objects/commit.py')
-rw-r--r--git/objects/commit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/objects/commit.py b/git/objects/commit.py
index f13760fd..ac381cd9 100644
--- a/git/objects/commit.py
+++ b/git/objects/commit.py
@@ -445,7 +445,7 @@ class Commit(base.Object, Iterable, Diffable, Traversable, Serializable):
next_line = readline()
while next_line.startswith(b'mergetag '):
next_line = readline()
- while next_line.startswith(' '):
+ while next_line.startswith(b' '):
next_line = readline()
# end skip mergetags