[FIX] tools.safe_eval: inconsistent indentation
bzr revid: odo@openerp.com-20130507084919-zovnqiv0axc3ikr3
This commit is contained in:
parent
9ed71ecf76
commit
dc37c9ffcf
|
@ -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 = {}
|
||||
|
|
Loading…
Reference in New Issue