Merge ssh://github.com/web2py/web2py
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.6.0-development+timestamp.2013.07.03.17.15.42
|
Version 2.6.0-development+timestamp.2013.07.05.02.12.46
|
||||||
|
|||||||
+5
-2
@@ -6869,8 +6869,11 @@ class Row(object):
|
|||||||
|
|
||||||
def __getitem__(self, k):
|
def __getitem__(self, k):
|
||||||
key=str(k)
|
key=str(k)
|
||||||
if key in self.get('_extra',{}):
|
_extra = self.__dict__.get('_extra', None)
|
||||||
return self._extra[key]
|
if _extra is not None:
|
||||||
|
v = _extra.get(key, None)
|
||||||
|
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