Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/zeroconf/_dns.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def suppressed_by(self, msg: 'DNSIncoming') -> bool:
return True
return False

def _suppressed_by_answer(self, other: 'DNSRecord') -> bool:
def _suppressed_by_answer(self, other) -> bool: # type: ignore[no-untyped-def]
"""Returns true if another record has same name, type and class,
and if its TTL is at least half of this record's."""
return self == other and other.ttl > (self.ttl / 2)
Expand Down