diff --git a/odoo/tools/profiler.py b/odoo/tools/profiler.py index bdc6c7719b0..f159cf978ca 100644 --- a/odoo/tools/profiler.py +++ b/odoo/tools/profiler.py @@ -57,7 +57,7 @@ class _LogTracer(object): 'lines': {}, 'nb': 0, } - except Exception, e: + except Exception: return codeProfile = self.profiles[frame.f_code]