Skip to content
Snippets Groups Projects
Commit eafa9f4a 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#44502

X-original-commit: f03b4cb5
Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
parent 5a6165da
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment