Skip to content
Snippets Groups Projects
Commit afea0e32 authored by durin42's avatar durin42
Browse files

git_handler: work around dulwich using unicode for ref names

Dulwich treats ref names internally as unicode strings (probably
because of Python 3?), which means that at some points it tries to do
os.path.join between the repo path and the unicode of the ref name,
which fails miserably if we construct the repo with a str and not a
unicode. Kludge around this problem.

Fixes issue 172.

This is a roll-forward of a593069575bb, which should be valid now that
the previous change defends against accidentally writing unicode tags
inside the templater.
parent 5d45e0ed
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment