summaryrefslogtreecommitdiff
path: root/git/index/typ.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2015-01-06 10:43:25 +0100
committerSebastian Thiel <byronimo@gmail.com>2015-01-06 10:43:25 +0100
commit45c1c99a22e95d730d3096c339d97181d314d6ca (patch)
treed25ccc9b7d37fa7bc5a76c995e525ae137110a42 /git/index/typ.py
parent7297ff651c3cc6abf648b3fe730c2b5b1f3edbd3 (diff)
downloadgitpython-45c1c99a22e95d730d3096c339d97181d314d6ca.tar.gz
test_index works
Diffstat (limited to 'git/index/typ.py')
-rw-r--r--git/index/typ.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/index/typ.py b/git/index/typ.py
index 692e1e18..0998ecb0 100644
--- a/git/index/typ.py
+++ b/git/index/typ.py
@@ -75,7 +75,7 @@ class BaseIndexEntry(tuple):
@property
def hexsha(self):
"""hex version of our sha"""
- return b2a_hex(self[1])
+ return b2a_hex(self[1]).decode('ascii')
@property
def stage(self):