changeset 50938 | d8c8a923ee9b |
parent 49928 | fda5a4b853ab |
child 50952 | 18c8c18993f0 |
--- a/mercurial/hgweb/webcommands.py Thu Aug 31 01:19:49 2023 +0200 +++ b/mercurial/hgweb/webcommands.py Fri Sep 01 11:57:38 2023 +0200 @@ -1050,7 +1050,9 @@ } diffopts = webutil.difffeatureopts(web.req, web.repo.ui, b'annotate') - diffopts = {k: getattr(diffopts, k) for k in diffopts.defaults} + diffopts = { + k: getattr(diffopts, pycompat.sysstr(k)) for k in diffopts.defaults + } return web.sendtemplate( b'fileannotate',