[IMP] safe_eval: allow 'max' builtin

bzr revid: odo@openerp.com-20110718145322-wid88kpg568xyxu7
This commit is contained in:
Olivier Dony
2011-07-18 16:53:22 +02:00
parent 077264c58f
commit fb0c0e8d90
+1
View File
@@ -275,6 +275,7 @@ def safe_eval(expr, globals_dict=None, locals_dict=None, mode="eval", nocopy=Fal
'map': map,
'abs': abs,
'min': min,
'max': max,
'reduce': reduce,
'filter': filter,
'round': round,