fixed issue 1127, SQLTABLE column with virtual fields, thanks hi21alt

This commit is contained in:
mdipierro
2012-10-31 09:52:43 -05:00
parent 783d049668
commit 6801ed07d8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.2.1 (2012-10-31 09:50:32) stable
Version 2.2.1 (2012-10-31 09:52:38) stable
+1 -1
View File
@@ -2550,7 +2550,7 @@ class SQLTABLE(TABLE):
(tablename, fieldname) = colname.split('.')
try:
field = sqlrows.db[tablename][fieldname]
except KeyError:
except (KeyError, AttributeError):
field = None
if tablename in record \
and isinstance(record, Row) \