# # patch "monotone.py" # from [e2376d24295fd1877b22b231c6161b89d90fbfe8] # to [7739e5ad560fd3abfbe42a27c056f8dabc41f62d] # ======================================================================== --- monotone.py e2376d24295fd1877b22b231c6161b89d90fbfe8 +++ monotone.py 7739e5ad560fd3abfbe42a27c056f8dabc41f62d @@ -138,12 +138,14 @@ rv += c in_escape = False else: - if c == '\\': in_escape = True - if c == '"': + if c == '\\': + in_escape = True + elif c == '"': if is_terminated: raise Exception("basic_io parse error; string ends twice!") is_terminated = True - else: rv += c + else: + rv += c return is_terminated, rv rv = [] stanza = []