# HG changeset patch # User catherine@Drou # Date 1265768176 18000 # Node ID 1cf1f69b2470bf2940544e404407db4887f2a20a # Parent b34ea206c7d1b41b61668800012e27bcad40c4f0 must puzzle out parsing of quoted strings diff -r b34ea206c7d1 -r 1cf1f69b2470 sqlpython/sqlpyPlus.py --- a/sqlpython/sqlpyPlus.py Tue Feb 09 13:48:24 2010 -0500 +++ b/sqlpython/sqlpyPlus.py Tue Feb 09 21:16:16 2010 -0500 @@ -1355,9 +1355,9 @@ arg = self.parsed(arg) import pdb; pdb.set_trace() try: - var, val = self.assignmentSplitter.split(arg.parsed.expanded, maxsplit=1) + var, val = self.assignmentSplitter.split(arg, maxsplit=1) except ValueError: - return False, arg.parsed.expanded.split()[-1] or None, None + return False, str(arg).split()[-1] or None, None var = var.split()[-1] val = val.strip() if (len(val) > 1) and ((val[0] == val[-1] == "'") or (val[0] == val[-1] == '"')):