This comes with one twist, in python3 the lines we get from subprocess are bytes but we don't want to convert them entirely to unicode, we only want to convert the header's name, and there using str() won't work, we need a full .decode().
str()
.decode()
Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr
This fixes git clone via http on py3
:thumbsup:
rebased onto 50e429fb5cb9b51a9963bc454dc3586d2bc6b2b0
Thanks
Pull-Request has been merged by pingou
This comes with one twist, in python3 the lines we get from
subprocess are bytes but we don't want to convert them entirely
to unicode, we only want to convert the header's name, and
there using
str()won't work, we need a full.decode().Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr