trivial fix (Python issue)

This commit is contained in:
Laurent Rineau 2019-02-07 13:29:39 +01:00
parent 99d842401a
commit 9c31f25653
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ else:
print_verbose(" index path is {}".format(repo.index_path()))
print_verbose("Getting commits in current branch", end='')
print_verbose(" {}".\
format(str(repo.refs.read_ref('HEAD'), "ascii")), end='')
format(str(repo.refs.read_ref(b'HEAD'), "ascii")), end='')
sys.stderr.flush()
walk = repo.get_walker(include=repo.head(),\
exclude=[repo.get_refs()[b'refs/remotes/cgal/master']])