Remove the __int__ implementation of BaseSuspendSecurityUid.

This commit is contained in:
Monica Diaz Pena
2020-01-06 17:11:25 -05:00
parent 77be6275b1
commit d255acc749

View File

@@ -4,9 +4,6 @@ from odoo.tools import pycompat
class BaseSuspendSecurityUid(int): class BaseSuspendSecurityUid(int):
def __int__(self):
return self
def __eq__(self, other): def __eq__(self, other):
if isinstance(other, pycompat.integer_types): if isinstance(other, pycompat.integer_types):
return False return False