1
0
鏡像自 https://github.com/mail-in-a-box/mailinabox.git 已同步 2026-04-01 21:27:22 +02:00

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

此提交包含在:
Teal Dulcet
2023-12-22 07:21:28 -08:00
父節點 8adda9895c
當前提交 7647176191

查看文件

@@ -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
######################################################################## ########################################################################