mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-python
synced 2026-01-15 09:53:32 +01:00
StringTree: Respect quoted quotes
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
4a200c8851
commit
3d93d534db
3 changed files with 17 additions and 11 deletions
|
|
@ -54,7 +54,7 @@ def parse(s): # export
|
|||
|
||||
if rhs is None:
|
||||
raise Exception("failed to parse assignment", line)
|
||||
root.add(sec + '.' + cleanup_string(lhs), quote(cleanup_string(rhs)))
|
||||
root.add(sec + '.' + cleanup_string(lhs), cleanup_string(rhs))
|
||||
return root
|
||||
|
||||
def read(path): # export
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue