summaryrefslogtreecommitdiff
path: root/odoo/tools/profiler.py
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2017-08-07 14:23:08 +0200
committerChristophe Simonis <chs@odoo.com>2017-08-07 15:02:56 +0200
commit2b7179380a06da1ee320f26ffbdf0602d820b856 (patch)
tree735f0d5ffaf7b065e01ca7c9d93a1f20fc305ea5 /odoo/tools/profiler.py
parentc955c3051cc6c68a39340e146c4120d514b61437 (diff)
[FIX] tools: avoid defining unused variable using python2 only syntax
Diffstat (limited to 'odoo/tools/profiler.py')
-rw-r--r--odoo/tools/profiler.py2
1 files changed, 1 insertions, 1 deletions
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]