Mercurial > hg
view mercurial/templates/atom/tagentry.tmpl @ 42551:8306b6c29add
py3: hack around inconsistency of type of name passed to DNSQuestion
I don't like this patch but this is the easiest way I could fix it. There are
some callers which pass name which is bytes, some pass name which is str. I just
encode() that if that's str.
This does makes test-paths.t pass, but I am not confident whether the whole of
zeroconf will work on py3 or not.
Differential Revision: https://phab.mercurial-scm.org/D6511
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Tue, 11 Jun 2019 20:53:14 +0300 |
parents | 9409aeaafdc1 |
children |
line wrap: on
line source
<entry> <title>{tag|escape}</title> <link rel="alternate" href="{urlbase}{url|urlescape}rev/{node|short}"/> <id>{urlbase}{url|urlescape}#tag-{node}</id> <updated>{date|rfc3339date}</updated> <published>{date|rfc3339date}</published> <content type="text">{tag|strip|escape}</content> </entry>