# HG changeset patch # User catherine@dellzilla # Date 1237817780 14400 # Node ID 67ff100baeaa8c322b025ed2bd80dec489086276 # Parent e7578e7ff9dd15842f36076bf48e3d72117fb7e3# Parent 3cade02da8928ecfa575e7979fbaa882ef62eed3 merged abbrev changes diff -r e7578e7ff9dd -r 67ff100baeaa sqlpython/sqlpyPlus.py --- 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(':'):