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:
1141823
)
Deletion of a trailing '#'.
author
funilrys
<redacted>
Fri, 2 Mar 2018 20:43:52 +0000
(21:43 +0100)
committer
funilrys
<redacted>
Fri, 2 Mar 2018 20:43:52 +0000
(21:43 +0100)
Please note that I have added that '#' by mistake.
updateHostsFile.py
patch
|
blob
|
history
diff --git
a/updateHostsFile.py
b/updateHostsFile.py
index e28f0de5a410485270fe75104bb5678731672054..0c78c3e2f5df92c615115e60faf4c57f4de74c30 100644
(file)
--- a/
updateHostsFile.py
+++ b/
updateHostsFile.py
@@
-1177,7
+1177,7
@@
def domain_to_idna(line):
else:
splited_line[1] = splited_line[1] \
.encode("IDNA") \
- .decode("UTF-8")
+ '#'
+ .decode("UTF-8")
else:
splited_line[1] = splited_line[1] \
.encode("IDNA") \
git clone https://git.99rst.org/PROJECT