Clean up docs and more funcparser fixes
This commit is contained in:
parent
c65c68e4c2
commit
c9d9e9c6f8
21 changed files with 438 additions and 512 deletions
|
|
@ -45,7 +45,12 @@ def protfunc_callable_protkey(*args, **kwargs):
|
|||
|
||||
prototype = kwargs.get("prototype", {})
|
||||
prot_value = prototype[args[0]]
|
||||
return funcparser.funcparser_callable_eval(prot_value, **kwargs)
|
||||
try:
|
||||
return funcparser.funcparser_callable_eval(prot_value, **kwargs)
|
||||
except funcparser.ParsingError:
|
||||
return prot_value
|
||||
|
||||
|
||||
|
||||
|
||||
# this is picked up by FuncParser
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue