git.99rst.org
/
stevenblack-hosts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
79e755b
)
Deletion of unneeded comment
author
funilrys
<redacted>
Wed, 15 Aug 2018 10:25:25 +0000
(12:25 +0200)
committer
Steven Black
<redacted>
Thu, 6 Sep 2018 03:53:58 +0000
(23:53 -0400)
updateHostsFile.py
patch
|
blob
|
history
diff --git
a/updateHostsFile.py
b/updateHostsFile.py
index c93c835794b185133103a6b41adfbd9c28f4616a..50c1fca3d4a7285765d7bec23e2280f20de28623 100644
(file)
--- a/
updateHostsFile.py
+++ b/
updateHostsFile.py
@@
-751,7
+751,6
@@
def remove_dups_and_excl(merge_file, exclusion_regexes, output_file=None):
os.makedirs(settings["outputpath"])
if output_file is None:
- # Another mode is required to read and write the file in Python 3
final_file = open(path_join_robust(settings["outputpath"], "hosts"), "w+b")
else:
final_file = output_file
git clone https://git.99rst.org/PROJECT