Merge pull request #144 from michele-comitini/dal_sum_expression_fix

changed way to detect missing key since None is already a possible value
This commit is contained in:
mdipierro
2013-07-21 14:53:26 -07:00
2 changed files with 6 additions and 2 deletions
+2 -2
View File
@@ -6876,8 +6876,8 @@ class Row(object):
key=str(k)
_extra = self.__dict__.get('_extra', None)
if _extra is not None:
v = _extra.get(key, None)
if v is not None:
v = _extra.get(key, r'[__+-+_key_not_found_+-+__]')
if v != r'[__+-+_key_not_found_+-+__]':
return v
m = REGEX_TABLE_DOT_FIELD.match(key)
if m: