kopia lustrzana https://github.com/collective/icalendar
add vDDDTypes.dt to __eq__
rodzic
53567ef79e
commit
6808972f32
|
@ -320,7 +320,7 @@ class vDDDTypes:
|
|||
|
||||
def __eq__(self, other):
|
||||
if isinstance(other, vDDDTypes):
|
||||
return self.params == other.params
|
||||
return self.params == other.params and self.dt == other.dt
|
||||
return False
|
||||
|
||||
def __hash__(self):
|
||||
|
|
Ładowanie…
Reference in New Issue