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:
ff58bbd
)
Fix test issue.
author
funilrys
<redacted>
Wed, 28 Feb 2018 22:13:13 +0000
(23:13 +0100)
committer
funilrys
<redacted>
Wed, 28 Feb 2018 22:13:13 +0000
(23:13 +0100)
This patch fix https://travis-ci.org/funilrys/hosts/jobs/
347497718
#L748
updateHostsFile.py
patch
|
blob
|
history
diff --git
a/updateHostsFile.py
b/updateHostsFile.py
index d27850ef83279823d303b782adae743e9ec0edb0..7efb5c2c00d0cabe4d9b114d68118357c1f773f1 100644
(file)
--- a/
updateHostsFile.py
+++ b/
updateHostsFile.py
@@
-1128,6
+1128,7
@@
def remove_old_hosts_file(backup):
open(old_file_path, "a").close()
# End File Logic
+
def domain_to_idna(line):
"""
Encode a domain which is presente into a line into `idna`. This way we avoid
git clone https://git.99rst.org/PROJECT