changeset 290:67ff100baeaa

merged abbrev changes
author catherine@dellzilla
date Mon, 23 Mar 2009 10:16:20 -0400
parents e7578e7ff9dd (current diff) 3cade02da892 (diff)
children 2103616cffcd
files sqlpython/sqlpyPlus.py
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/sqlpython/sqlpyPlus.py	Fri Mar 20 17:23:54 2009 -0400
+++ b/sqlpython/sqlpyPlus.py	Mon Mar 23 10:16:20 2009 -0400
@@ -409,6 +409,7 @@
     
 class sqlpyPlus(sqlpython.sqlpython):
     defaultExtension = 'sql'
+    abbrev = True    
     sqlpython.sqlpython.shortcuts.update({':': 'setbind', 
                                           '\\': 'psql', 
                                           '@': 'get'})
@@ -905,7 +906,6 @@
             except IndexError:
                 pass
             return Cmd.do_show(self, arg)
-    do_sho = do_show
             
     @options([make_option('-d', '--dump', action='store_true', help='dump results to files'),
               make_option('-f', '--full', action='store_true', help='get dependent objects as well'),
@@ -1031,7 +1031,6 @@
                     sql = self.parsed(descQueries['PackageObjArgs'][0], terminator=arg.parsed.terminator or ';', suffix=arg.parsed.suffix)
                     self.do_select(sql, bindVarsIn={'package_name':object_name, 'owner':owner, 'object_name':packageObj_name})
 
-    do_desc = do_describe
 
     def do_deps(self, arg):
         '''Lists all objects that are dependent upon the object.'''
@@ -1323,8 +1322,6 @@
         else:
             if var in self.substvars:
                 print 'DEFINE %s = "%s" (%s)' % (var, self.substvars[var], type(self.substvars[var]))
-
-    do_def = do_define               
     
     def do_exec(self, arg):
         if arg.startswith(':'):