From ca8f06d59093c0bb30221c8e56997145235a2f64 Mon Sep 17 00:00:00 2001 From: Teal Dulcet Date: Fri, 22 Dec 2023 07:21:28 -0800 Subject: [PATCH] Fixed PLR1711 (useless-return): Useless `return` statement at end of function --- management/dns_update.py | 1 - 1 file changed, 1 deletion(-) diff --git a/management/dns_update.py b/management/dns_update.py index 753a4115..43f801d3 100755 --- a/management/dns_update.py +++ b/management/dns_update.py @@ -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 ########################################################################