Skip to content
Snippets Groups Projects
Commit f03b4cb5 authored by Martin Trigaux's avatar Martin Trigaux
Browse files

[FIX] *: python 3.8 compatibility


time.clock is deprecated since python 3.3 and no longer exists in python 3.8
time.process_time was introduced in python 3.3

Replace "is" by "==" as this produces a SyntaxWarning in python 3.8

Fixes odoo/odoo#41313

closes odoo/odoo#44332

Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
parent 6079f6ef
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment