[attributs] Échec sur l'utilisation de isinstance
This commit is contained in:
parent
7ed1874d62
commit
b4bfe6cdc4
1 changed files with 1 additions and 1 deletions
|
@ -573,7 +573,7 @@ class generalizedTimeFormat(Attr):
|
|||
return int(self._stamp)
|
||||
|
||||
def __eq__(self, othertime):
|
||||
if isinstance(self, othertime):
|
||||
if isinstance(othertime, generalizedTimeFormat):
|
||||
return self._stamp == othertime._stamp
|
||||
else:
|
||||
resource = generalizedTimeFormat(othertime, conn=None, Parent=None)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue