style: remove redundent else
Signed-off-by: Alexander Tkachev <sasha64sasha@gmail.com>
This commit is contained in:
parent
494170b997
commit
202c98766c
|
@ -70,8 +70,7 @@ class CloudEvent:
|
|||
def __eq__(self, other: typing.Any) -> bool:
|
||||
if isinstance(other, CloudEvent):
|
||||
return self.data == other.data and self._attributes == other._attributes
|
||||
else:
|
||||
return False
|
||||
return False
|
||||
|
||||
# Data access is handled via `.data` member
|
||||
# Attribute access is managed via Mapping type
|
||||
|
|
Loading…
Reference in New Issue