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):
|
def __getitem__(self, k):
|
||||||
key=str(k)
|
key=str(k)
|
||||||
_extra = getattr(self, '_extra', None)
|
if key in self.get('_extra',{}):
|
||||||
if _extra:
|
return self._extra[key]
|
||||||
return _extra.get(key)
|
|
||||||
if v:
|
|
||||||
return v
|
|
||||||
m = REGEX_TABLE_DOT_FIELD.match(key)
|
m = REGEX_TABLE_DOT_FIELD.match(key)
|
||||||
if m:
|
if m:
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user