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:
44f41c3
)
Document get_file_by_url
author
Alexander Cecile
<redacted>
Thu, 20 Aug 2020 22:42:31 +0000
(18:42 -0400)
committer
Alexander Cecile
<redacted>
Thu, 20 Aug 2020 22:42:31 +0000
(18:42 -0400)
updateHostsFile.py
patch
|
blob
|
history
diff --git
a/updateHostsFile.py
b/updateHostsFile.py
index 81d1da8201dae67a96577e42200ca1050fc9c44a..85aa25d74a79800bb455f538b2f2320cc25a05b2 100644
(file)
--- a/
updateHostsFile.py
+++ b/
updateHostsFile.py
@@
-1468,9
+1468,9
@@
def maybe_copy_example_file(file_path):
def get_file_by_url(url, params=None, **kwargs):
"""
- Retrieve the contents of the hosts file at
a certain
URL, then pass it through domain_to_idna().
+ Retrieve the contents of the hosts file at
the
URL, then pass it through domain_to_idna().
-
Simple wrapper around the requests.get() function, uses the same parameters
.
+
Parameters are passed to the requests.get() function
.
Parameters
----------
git clone https://git.99rst.org/PROJECT