fixed a problem with missing _extra
This commit is contained in:
@@ -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
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user