mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-12-24 07:37:04 +00:00
Fixed PLR1711 (useless-return): Useless return
statement at end of function
This commit is contained in:
parent
57d05c1ab2
commit
ca8f06d590
@ -1072,7 +1072,6 @@ def get_custom_dns_records(custom_dns, qname, rtype):
|
||||
for qname1, rtype1, value in custom_dns:
|
||||
if qname1 == qname and rtype1 == rtype:
|
||||
yield value
|
||||
return None
|
||||
|
||||
########################################################################
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user