Fixed RET505 (superfluous-else-return)

This commit is contained in:
Teal Dulcet
2025-06-18 05:00:45 -07:00
parent 3008dfa28f
commit dbabd69218
9 changed files with 72 additions and 89 deletions
+1 -2
View File
@@ -124,8 +124,7 @@ def do_dns_update(env, force=False):
if len(updated_domains) == 0:
# if nothing was updated (except maybe OpenDKIM's files), don't show any output
return ""
else:
return "updated DNS: " + ",".join(updated_domains) + "\n"
return "updated DNS: " + ",".join(updated_domains) + "\n"
########################################################################