From 2b7179380a06da1ee320f26ffbdf0602d820b856 Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Mon, 7 Aug 2017 14:23:08 +0200 Subject: [PATCH] [FIX] tools: avoid defining unused variable using python2 only syntax --- odoo/tools/profiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]