Mercurial > hg
comparison mercurial/wireprotov1server.py @ 40158:9310037f0636
py3: pass str and return bytes from mimetypes.guess_type()
This function wants a str (which represents a path) and returns a str.
We normalize input to str and output to bytes.
Differential Revision: https://phab.mercurial-scm.org/D4967
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Thu, 11 Oct 2018 21:47:39 +0200 |
parents | ad8d8dc9be3f |
children | 876494fd967d |
comparison
equal
deleted
inserted
replaced
40157:a8be613391d1 | 40158:9310037f0636 |
---|