mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-03-06 16:07:22 +01:00
Fixed PLR1711 (useless-return): Useless return statement at end of function
This commit is contained in:
committed by
Joshua Tauberer
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
|
||||
|
||||
########################################################################
|
||||
|
||||
|
||||
Reference in New Issue
Block a user