# HG changeset patch # User catherine@cordelia # Date 1249677287 14400 # Node ID e0750f7967d73ce3a66d290a746e9f2104440931 # Parent 388ee8fa5664747254b43b687598a293590c8353 prevent die on logon failure diff -r 388ee8fa5664 -r e0750f7967d7 docs/source/index.rst --- a/docs/source/index.rst Mon Jul 06 09:03:55 2009 -0400 +++ b/docs/source/index.rst Fri Aug 07 16:34:47 2009 -0400 @@ -5,8 +5,6 @@ Welcome to SQLPython's documentation! ===================================== -Dayton *Dynamic* Languages Group is **awesome** - Contents: .. toctree:: diff -r 388ee8fa5664 -r e0750f7967d7 sqlpython/sqlpyPlus.py --- a/sqlpython/sqlpyPlus.py Mon Jul 06 09:03:55 2009 -0400 +++ b/sqlpython/sqlpyPlus.py Fri Aug 07 16:34:47 2009 -0400 @@ -82,7 +82,7 @@ AND atc.owner = :owner ORDER BY atc.column_id;""", 'oneColComments': """ -SELECTatc.column_name, +SELECT atc.column_name, acc.comments FROM all_tab_columns atc JOIN all_col_comments acc ON (atc.owner = acc.owner and atc.table_name = acc.table_name and atc.column_name = acc.column_name) @@ -405,7 +405,9 @@ def postcmd(self, stop, line): """Hook method executed just after a command dispatch is finished.""" - if (self.rdbms == 'oracle') and self.serveroutput: + if ( hasattr(self, 'rdbms') + and (self.rdbms == 'oracle') + and self.serveroutput): self.dbms_output() return stop