diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2015-01-06 14:11:48 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2015-01-06 14:11:48 +0100 |
commit | 4cfc682ff87d3629b31e0196004d1954810b206c (patch) | |
tree | 86db6980ef91ba81b2f0fc47c46f9cb4d2e21616 /git/objects/base.py | |
parent | 8f219b53f339fc0133800fac96deaf75eb4f9bf6 (diff) | |
download | gitpython-4cfc682ff87d3629b31e0196004d1954810b206c.tar.gz |
test_submodule works
Diffstat (limited to 'git/objects/base.py')
-rw-r--r-- | git/objects/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/objects/base.py b/git/objects/base.py index 004e3981..3f595d9d 100644 --- a/git/objects/base.py +++ b/git/objects/base.py @@ -60,7 +60,7 @@ class Object(LazyMixin): :param sha1: 20 byte binary sha1""" if sha1 == cls.NULL_BIN_SHA: # the NULL binsha is always the root commit - return get_object_type_by_name('commit')(repo, sha1) + return get_object_type_by_name(b'commit')(repo, sha1) # END handle special case oinfo = repo.odb.info(sha1) inst = get_object_type_by_name(oinfo.type)(repo, oinfo.binsha) |