From: XhmikosR Date: Sun, 5 Jul 2026 15:04:39 +0000 (+0300) Subject: Return an explicit False from move_hosts_file_into_place X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=1e920988f9670b44a7405a86ae746647ff2e0add;p=stevenblack-hosts.git Return an explicit False from move_hosts_file_into_place Unsupported platforms fell off the end and returned None. --- diff --git a/updateHostsFile.py b/updateHostsFile.py index cb716b079..2376bf89a 100755 --- a/updateHostsFile.py +++ b/updateHostsFile.py @@ -1452,6 +1452,8 @@ def move_hosts_file_into_place(finalfile): print_failure(f"Replacing {target_file} failed.") return False + return False + def flush_dns_cache(): """