##// END OF EJS Templates
config: allow remapping the default section...
Yuya Nishihara -
r34714:e5a2cfc5 default
parent child Browse files
Show More
@@ -118,6 +118,9 b' class config(object):'
118 line = 0
118 line = 0
119 cont = False
119 cont = False
120
120
121 if remap:
122 section = remap.get(section, section)
123
121 for l in data.splitlines(True):
124 for l in data.splitlines(True):
122 line += 1
125 line += 1
123 if line == 1 and l.startswith('\xef\xbb\xbf'):
126 if line == 1 and l.startswith('\xef\xbb\xbf'):
General Comments 0
You need to be logged in to leave comments. Login now