mirror of
https://github.com/OCA/server-backend.git
synced 2025-02-18 09:52:42 +02:00
Remove the __int__ implementation of BaseSuspendSecurityUid.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user