##// END OF EJS Templates
py3: change explicit conversion of config value from str to pycompat.bytestr
Rishabh Madan -
r31477:3fb2081e default
parent child Browse files
Show More
@@ -1810,7 +1810,7 b' def config(ui, repo, *values, **opts):'
1810 matched = False
1810 matched = False
1811 for section, name, value in ui.walkconfig(untrusted=untrusted):
1811 for section, name, value in ui.walkconfig(untrusted=untrusted):
1812 source = ui.configsource(section, name, untrusted)
1812 source = ui.configsource(section, name, untrusted)
1813 value = str(value)
1813 value = pycompat.bytestr(value)
1814 if fm.isplain():
1814 if fm.isplain():
1815 source = source or 'none'
1815 source = source or 'none'
1816 value = value.replace('\n', '\\n')
1816 value = value.replace('\n', '\\n')
General Comments 0
You need to be logged in to leave comments. Login now