Fix test issue.

This patch fix https://travis-ci.org/funilrys/hosts/jobs/347497718#L748
This commit is contained in:
funilrys
2018-02-28 23:13:13 +01:00
parent ff58bbd1f2
commit 079ad6b674

View File

@@ -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