changeset 307:e804c08292b3

several bugs out
author catherine@dellzilla
date Wed, 25 Mar 2009 16:32:54 -0400
parents ed02c8b1a9b6
children 4d24fea42364
files sqlpython/sqlpyPlus.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sqlpython/sqlpyPlus.py	Wed Mar 25 14:37:34 2009 -0400
+++ b/sqlpython/sqlpyPlus.py	Wed Mar 25 16:32:54 2009 -0400
@@ -388,7 +388,7 @@
         try:
             return self[self.resultset.colnames.index(attr)]
         except ValueError:
-            if attr in ('colnames', 'statement', 'bindvars'):
+            if attr in ('colnames', 'statement', 'bindvars', 'resultset'):
                 return getattr(self.resultset, attr)
             else:
                 raise AttributeError, "available columns are: " + ", ".join(self.resultset.colnames)