]> git.99rst.org Git - stevenblack-hosts.git/commit
Always close the output hosts file
authorXhmikosR <redacted>
Sun, 5 Jul 2026 14:53:50 +0000 (17:53 +0300)
committerXhmikosR <redacted>
Sun, 5 Jul 2026 14:53:50 +0000 (17:53 +0300)
commit00d7f66ef61519a04c2dc26de40e23ee0c458f82
tree395798a688146d4581ec02cc1f5aa476b83e35c4
parentbe1cc7bc7212bfd3ff76fc71071a6c3f05269d5b
Always close the output hosts file

Open it in a with statement; drop the unused self-opening branch in remove_dups_and_excl.
updateHostsFile.py
git clone https://git.99rst.org/PROJECT