##// END OF EJS Templates
hgweb: use sysstr to get attribute on diff option...
marmoute -
r51808:d8c8a923 default
parent child Browse files
Show More
@@ -1050,7 +1050,9 b' def annotate(web):'
1050 1050 }
1051 1051
1052 1052 diffopts = webutil.difffeatureopts(web.req, web.repo.ui, b'annotate')
1053 diffopts = {k: getattr(diffopts, k) for k in diffopts.defaults}
1053 diffopts = {
1054 k: getattr(diffopts, pycompat.sysstr(k)) for k in diffopts.defaults
1055 }
1054 1056
1055 1057 return web.sendtemplate(
1056 1058 b'fileannotate',
General Comments 0
You need to be logged in to leave comments. Login now