# HG changeset patch # User catherine@Elli.myhome.westell.com # Date 1216811449 14400 # Node ID e11bbeb3f34c1a5b137149917d5ffa8f6cd004e8 # Parent 7882c5e4d74450d14c8d0f1b157308f9fcbadf75 cleanup statement ends diff -r 7882c5e4d744 -r e11bbeb3f34c sqlpyPlus.py --- a/sqlpyPlus.py Sun Jul 13 07:55:13 2008 -0400 +++ b/sqlpyPlus.py Wed Jul 23 07:10:49 2008 -0400 @@ -515,9 +515,6 @@ result = sqlpython.pmatrix(self.rows, self.curs.description, self.maxfetch) return result - statementEndPattern = re.compile(r'(.*)(;|\\[gGhtxicCsS])\s*(\d*)\s*$', re.DOTALL | re.MULTILINE) - # what about quote-enclosed? - legalOracle = re.compile('[a-zA-Z_$#]') rowlimitPattern = pyparsing.Word(pyparsing.nums)('rowlimit') diff -r 7882c5e4d744 -r e11bbeb3f34c sqlpython.py --- a/sqlpython.py Sun Jul 13 07:55:13 2008 -0400 +++ b/sqlpython.py Wed Jul 23 07:10:49 2008 -0400 @@ -144,9 +144,6 @@ # shortcuts do_exit = cmd2.Cmd.do_quit - - stmtEndSearchString = r'(.*)(%s)\s*(\d+)?\s*$' % terminatorSearchString - statementEndPattern = re.compile(stmtEndSearchString, re.MULTILINE | re.DOTALL) def pmatrix(rows,desc,maxlen=30): '''prints a matrix, used by sqlpython to print queries' result sets'''