changeset 55:2fd2f54648ea

fixed multiline bug in default
author catherine@cordelia
date Wed, 02 Apr 2008 20:34:50 -0400
parents bea930b41b58
children dd1ab6a6d1dc
files setup.py sqlpython.py
diffstat 2 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/setup.py	Wed Apr 02 19:29:17 2008 -0400
+++ b/setup.py	Wed Apr 02 20:34:50 2008 -0400
@@ -19,8 +19,6 @@
       install_requires=['pyparsing','cmd2','cx_Oracle'],
       keywords = 'client oracle database',
       license = 'MIT',
-      maintainer = 'Catherine Devlin',
-      maintainer_email = 'catherine.devlin@gmail.com',
       platforms = ['any'],
       entry_points = """
                    [console_scripts]
--- 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 '')