Fix tests issue.
authorfunilrys <redacted>
Wed, 28 Feb 2018 22:23:30 +0000 (23:23 +0100)
committerfunilrys <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

index 5e0002983aac9f92f5c9be1d100254ffdaf49312..952624735312e45271796a61efcb9909b5de3b25 100644 (file)
@@ -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