# # # patch "monotone.py" # from [04e570747e50d80629f0f191fd01b641f203bcad] # to [74e4db84f1ae2ba706d821f957226e3048f86ca0] # ============================================================ --- monotone.py 04e570747e50d80629f0f191fd01b641f203bcad +++ monotone.py 74e4db84f1ae2ba706d821f957226e3048f86ca0 @@ -126,12 +126,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 = []