Show More
@@ -666,9 +666,11 b' def runmember(context, mapping, data):' | |||||
666 | if util.safehasattr(d, 'tomap'): |
|
666 | if util.safehasattr(d, 'tomap'): | |
667 | lm = context.overlaymap(mapping, d.tomap()) |
|
667 | lm = context.overlaymap(mapping, d.tomap()) | |
668 | return runsymbol(context, lm, memb) |
|
668 | return runsymbol(context, lm, memb) | |
|
669 | try: | |||
669 | if util.safehasattr(d, 'get'): |
|
670 | if util.safehasattr(d, 'get'): | |
670 | return getdictitem(d, memb) |
|
671 | return getdictitem(d, memb) | |
671 |
|
672 | raise error.ParseError | ||
|
673 | except error.ParseError: | |||
672 | sym = findsymbolicname(darg) |
|
674 | sym = findsymbolicname(darg) | |
673 | if sym: |
|
675 | if sym: | |
674 | raise error.ParseError(_("keyword '%s' has no member") % sym) |
|
676 | raise error.ParseError(_("keyword '%s' has no member") % sym) |
General Comments 0
You need to be logged in to leave comments.
Login now