diff options
| author | Christophe Simonis <chs@odoo.com> | 2017-08-07 14:23:08 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2017-08-07 15:02:56 +0200 |
| commit | 2b7179380a06da1ee320f26ffbdf0602d820b856 (patch) | |
| tree | 735f0d5ffaf7b065e01ca7c9d93a1f20fc305ea5 | |
| parent | c955c3051cc6c68a39340e146c4120d514b61437 (diff) | |
[FIX] tools: avoid defining unused variable using python2 only syntax
| -rw-r--r-- | odoo/tools/profiler.py | 2 |
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] |
