diff options
author | John L. Walker <john.lou.walker@gmail.com> | 2015-05-13 17:28:14 -0400 |
---|---|---|
committer | John L. Walker <john.lou.walker@gmail.com> | 2015-05-13 17:28:14 -0400 |
commit | 9563d27fbde02b8b2a8b0d808759cb235b4e083b (patch) | |
tree | aea30ba8cba250b61da4e2918242d9262c5e368b /git/objects/commit.py | |
parent | 2c594195eb614a200e1abb85706ec7b8b7c91268 (diff) | |
download | gitpython-9563d27fbde02b8b2a8b0d808759cb235b4e083b.tar.gz |
Fix type error (startswith expects bytes)
Diffstat (limited to 'git/objects/commit.py')
-rw-r--r-- | git/objects/commit.py | 2 |
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 |