Skip to content
Snippets Groups Projects
Commit f5180bed authored by Manuel Jacob's avatar Manuel Jacob
Browse files

py3: use pycompat.sysstr

parent 29586627
No related branches found
No related tags found
1 merge request!20Python 3 porting: ready for review (and merge)
Pipeline #5600 passed with warnings
......@@ -117,7 +117,7 @@
def config(ui, subtype, section, item):
if subtype == b'string':
subtype = b''
getconfig = getattr(ui, 'config' + subtype)
getconfig = getattr(ui, 'config' + pycompat.sysstr(subtype))
if hasconfigitems:
return getconfig(section, item)
return getconfig(section, item, CONFIG_DEFAULTS[section][item])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment