##// END OF EJS Templates
config: fix py3 backslash escaping bug in parser caught by tests...
Augie Fackler -
r37955:48378d0e default
parent child Browse files
Show More
@@ -215,7 +215,7 b' def parselist(value):'
215 parts.append('')
215 parts.append('')
216 if s[offset:offset + 1] == '"' and not parts[-1]:
216 if s[offset:offset + 1] == '"' and not parts[-1]:
217 return _parse_quote, parts, offset + 1
217 return _parse_quote, parts, offset + 1
218 elif s[offset:offset + 1] == '"' and parts[-1][-1] == '\\':
218 elif s[offset:offset + 1] == '"' and parts[-1][-1:] == '\\':
219 parts[-1] = parts[-1][:-1] + s[offset:offset + 1]
219 parts[-1] = parts[-1][:-1] + s[offset:offset + 1]
220 return _parse_plain, parts, offset + 1
220 return _parse_plain, parts, offset + 1
221 parts[-1] += s[offset:offset + 1]
221 parts[-1] += s[offset:offset + 1]
General Comments 0
You need to be logged in to leave comments. Login now