fixed a problem with missing _extra

This commit is contained in:
mdipierro
2013-07-02 08:33:47 -05:00
parent 6017e749eb
commit b28d155f0e
2 changed files with 3 additions and 6 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.6.0-development+timestamp.2013.07.02.08.03.03
Version 2.6.0-development+timestamp.2013.07.02.08.33.02
+2 -5
View File
@@ -6869,11 +6869,8 @@ class Row(object):
def __getitem__(self, k):
key=str(k)
_extra = getattr(self, '_extra', None)
if _extra:
return _extra.get(key)
if v:
return v
if key in self.get('_extra',{}):
return self._extra[key]
m = REGEX_TABLE_DOT_FIELD.match(key)
if m:
try: