changeset 120:e11bbeb3f34c

cleanup statement ends
author catherine@Elli.myhome.westell.com
date Wed, 23 Jul 2008 07:10:49 -0400
parents 7882c5e4d744
children 3dd852ab45c0
files sqlpyPlus.py sqlpython.py
diffstat 2 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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')
--- 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'''