Commit b4bfe6cd authored by Vincent Le gallic's avatar Vincent Le gallic

[attributs] Échec sur l'utilisation de isinstance

parent 7ed1874d
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment