diff sqlpython.py @ 114:c1c05670b4e5

going to modify to work with new cmd2
author catherine@Elli.myhome.westell.com
date Fri, 27 Jun 2008 16:09:30 -0400
parents 38ee1ca92801
children 43f5dc75b791
line wrap: on
line diff
--- a/sqlpython.py	Mon Jun 23 22:01:51 2008 -0400
+++ b/sqlpython.py	Fri Jun 27 16:09:30 2008 -0400
@@ -124,7 +124,8 @@
     do_sen = do_senora       
 
     def default(self, arg, do_everywhere = False):
-        self.query = self.finishStatement(arg).strip().rstrip(';')
+        #self.query = self.finishStatement(arg).strip().rstrip(';')
+        self.query = arg
         try:
             self.varsUsed = sqlpyPlus.findBinds(self.query, self.binds, givenBindVars={})
             self.curs.execute(self.query, self.varsUsed)