diff sqlpython.py @ 55:2fd2f54648ea

fixed multiline bug in default
author catherine@cordelia
date Wed, 02 Apr 2008 20:34:50 -0400
parents 33c9bc61db66
children d0bf9e40ba8d
line wrap: on
line diff
--- a/sqlpython.py	Wed Apr 02 19:29:17 2008 -0400
+++ b/sqlpython.py	Wed Apr 02 20:34:50 2008 -0400
@@ -100,7 +100,7 @@
     do_sen = do_senora       
 
     def default(self, arg, do_everywhere = False):
-        self.query = finishStatement(arg).strip().rstrip(';')
+        self.query = self.finishStatement(arg).strip().rstrip(';')
         try:
             self.curs.execute(self.query)
             print '\nExecuted%s\n' % ((self.curs.rowcount > 0) and ' (%d rows)' % self.curs.rowcount or '')