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:
2a41aef
)
Fix linter complaint.
author
Steven Black
<redacted>
Tue, 19 Dec 2017 04:57:02 +0000
(23:57 -0500)
committer
Steven Black
<redacted>
Tue, 19 Dec 2017 04:57:02 +0000
(23:57 -0500)
updateHostsFile.py
patch
|
blob
|
history
diff --git
a/updateHostsFile.py
b/updateHostsFile.py
index 0025332e3d5c8bbf97a9be8c882a825ed5162e48..9b6302ec9da2f4e2c2f400d429bf8b1d325aafef 100644
(file)
--- a/
updateHostsFile.py
+++ b/
updateHostsFile.py
@@
-545,6
+545,7
@@
def jsonarray(json_array_string):
hostlines = "127.0.0.1 " + "\n127.0.0.1 ".join(temp_list)
return hostlines
+
def update_all_sources(source_data_filename, host_filename):
"""
Update all host files, regardless of folder depth.
git clone https://git.99rst.org/PROJECT