From dc37c9ffcfd406b0d961be50551ffb1bb101b56a Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Tue, 7 May 2013 10:49:19 +0200 Subject: [PATCH] [FIX] tools.safe_eval: inconsistent indentation bzr revid: odo@openerp.com-20130507084919-zovnqiv0axc3ikr3 --- openerp/tools/safe_eval.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openerp/tools/safe_eval.py b/openerp/tools/safe_eval.py index dda6b935060..a18d0a83fae 100644 --- a/openerp/tools/safe_eval.py +++ b/openerp/tools/safe_eval.py @@ -198,7 +198,7 @@ def safe_eval(expr, globals_dict=None, locals_dict=None, mode="eval", nocopy=Fal raise ValueError("safe_eval does not allow direct evaluation of code objects.") if '__subclasses__' in expr: - raise ValueError('expression not allowed (__subclasses__)') + raise ValueError('expression not allowed (__subclasses__)') if globals_dict is None: globals_dict = {}