fixed issue 1127, SQLTABLE column with virtual fields, thanks hi21alt
This commit is contained in:
@@ -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
@@ -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) \
|
||||
|
||||
Reference in New Issue
Block a user