# HG changeset patch # User catherine.devlin@gmail.com # Date 1296521785 18000 # Node ID 539c11ad1b7e624ae20e245484e2bedfdd5a9efb # Parent 9aeb875cd2b2800c95266dc848d4de60673490b5 Fix do_comments bug diff -r 9aeb875cd2b2 -r 539c11ad1b7e docs/source/capabilities.rst --- 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 diff -r 9aeb875cd2b2 -r 539c11ad1b7e sqlpython/sqlpyPlus.py --- 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()