From: funilrys Date: Wed, 28 Feb 2018 22:13:13 +0000 (+0100) Subject: Fix test issue. X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=079ad6b6743a34517ffc0214bb3f2bf2a69b20ff;p=stevenblack-hosts.git Fix test issue. This patch fix https://travis-ci.org/funilrys/hosts/jobs/347497718#L748 --- diff --git a/updateHostsFile.py b/updateHostsFile.py index d27850ef8..7efb5c2c0 100644 --- 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