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:
079d5dd
)
Fix tests issue.
author
funilrys
<redacted>
Wed, 28 Feb 2018 22:23:30 +0000
(23:23 +0100)
committer
funilrys
<redacted>
Wed, 28 Feb 2018 22:23:30 +0000
(23:23 +0100)
This patch fix https://travis-ci.org/funilrys/hosts/jobs/
347500695
#L399
updateHostsFile.py
patch
|
blob
|
history
diff --git
a/updateHostsFile.py
b/updateHostsFile.py
index 5e0002983aac9f92f5c9be1d100254ffdaf49312..952624735312e45271796a61efcb9909b5de3b25 100644
(file)
--- a/
updateHostsFile.py
+++ b/
updateHostsFile.py
@@
-1173,7
+1173,7
@@
def domain_to_idna(line):
splited_line[1] = splited_line[1] \
.split(comment_to_append)[0] \
.encode("IDNA").decode("UTF-8") + \
-
'#' + comment_to_append[1]
+ '#' + comment_to_append[1]
else:
splited_line[1] = splited_line[1] \
.encode("IDNA") \
git clone https://git.99rst.org/PROJECT