1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-11-24 02:37:05 +00:00

Fixed PLR1711 (useless-return): Useless return statement at end of function

This commit is contained in:
Teal Dulcet 2023-12-22 07:21:28 -08:00 committed by Joshua Tauberer
parent 57d05c1ab2
commit ca8f06d590

View File

@ -1072,7 +1072,6 @@ def get_custom_dns_records(custom_dns, qname, rtype):
for qname1, rtype1, value in custom_dns: for qname1, rtype1, value in custom_dns:
if qname1 == qname and rtype1 == rtype: if qname1 == qname and rtype1 == rtype:
yield value yield value
return None
######################################################################## ########################################################################