changeset 528:539c11ad1b7e

Fix do_comments bug
author catherine.devlin@gmail.com
date Mon, 31 Jan 2011 19:56:25 -0500
parents 9aeb875cd2b2
children 0eea48bd3ad6
files docs/source/capabilities.rst sqlpython/sqlpyPlus.py
diffstat 2 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/docs/source/capabilities.rst	Tue Jan 25 08:51:01 2011 -0500
+++ b/docs/source/capabilities.rst	Mon Jan 31 19:56:25 2011 -0500
@@ -282,8 +282,6 @@
 specified with special Wild SQL symbols: wildcards (`*`, `%`, `_`); column numbers (`#{N}`);
 and NOT-style exclusion (`!`).  The symbols can even be combined.
 
-TODO: column number Wild SQL is not working as of sqlpython 1.7.0
-
 ::
 
   jrrt@orcl> cat party
--- a/sqlpython/sqlpyPlus.py	Tue Jan 25 08:51:01 2011 -0500
+++ b/sqlpython/sqlpyPlus.py	Mon Jan 31 19:56:25 2011 -0500
@@ -1023,7 +1023,7 @@
         for (owner, object_type, name) in self.current_instance.objects(arg, opts):
             obj = self.current_instance.object_metadata(owner, object_type, name)
             if hasattr(obj, 'comments'):
-                self.poutput('%s %s.%s' % object_type, owner, name)
+                self.poutput('%s %s.%s' % (object_type, owner, name))
                 self.poutput(obj.comments)
                 if hasattr(obj, 'columns'):
                     columns = obj.columns.values()