[IMP] safe_eval: added min() in usable functions

bzr revid: qdp-launchpad@openerp.com-20110614082920-aokyfw4iizj0fte5
This commit is contained in:
Quentin (OpenERP) 2011-06-14 10:29:20 +02:00
parent 6758ee6133
commit 4432d6a9f2
1 changed files with 1 additions and 0 deletions

View File

@ -274,6 +274,7 @@ def safe_eval(expr, globals_dict=None, locals_dict=None, mode="eval", nocopy=Fal
'tuple': tuple,
'map': map,
'abs': abs,
'min': min,
'reduce': reduce,
'filter': filter,
'round': round,