##// END OF EJS Templates
ui: fix check-code error
Henrik Stuart -
r11036:4efdccac default
parent child Browse files
Show More
@@ -182,7 +182,8 b' class ui(object):'
182 return _parse_plain, parts, offset
182 return _parse_plain, parts, offset
183
183
184 while offset < len(s) and s[offset] != '"':
184 while offset < len(s) and s[offset] != '"':
185 if s[offset] == '\\' and offset + 1 < len(s) and s[offset + 1] == '"':
185 if (s[offset] == '\\' and offset + 1 < len(s)
186 and s[offset + 1] == '"'):
186 offset += 1
187 offset += 1
187 parts[-1] += '"'
188 parts[-1] += '"'
188 else:
189 else:
General Comments 0
You need to be logged in to leave comments. Login now