fixed issue with row[db.table.field] for result of join, thanks Dominic

This commit is contained in:
mdipierro
2012-08-28 14:26:49 -05:00
parent b867fa28e6
commit 280630a0ce
3 changed files with 14 additions and 3 deletions
+2 -2
View File
@@ -6321,8 +6321,8 @@ class Row(object):
return self._extra[key]
elif m:
try:
return dict.__getitem__(self, m.group(1))[m.group(2)]
except (KeyError,TypeError):
return object.__getattribute__(self, m.group(1))[m.group(2)]
except (KeyError,AttributeError,TypeError):
key = m.group(2)
return object.__getattribute__(self, key)