Fix tests issue
authorfunilrys <redacted>
Wed, 28 Feb 2018 22:20:01 +0000 (23:20 +0100)
committerfunilrys <redacted>
Wed, 28 Feb 2018 22:20:01 +0000 (23:20 +0100)
This patch fix https://travis-ci.org/funilrys/hosts/jobs/347500695#L398

updateHostsFile.py

index cf42d2542e7d24a2f73e509a7cc12aaaf2e8e9c6..c714d92d50125c2b8d9cc99d32d821d860f52f57 100644 (file)
@@ -1150,9 +1150,9 @@ def domain_to_idna(line):
         most cases the encoding issue is due to a domain which looks like
         `b'\xc9\xa2oogle.com'.decode('idna')`.
     - About the splitting:
-        We split because we only want to encode the domain and not the full line
-            which may cause some issue. Keep in mind that we split but we still
-            concatenate once we encoded the domain.
+        We split because we only want to encode the domain and not the full
+            line which may cause some issue. Keep in mind that we split but we
+            still concatenate once we encoded the domain.
 
         - The following split the prefix `0.0.0.0` or `127.0.0.1` of a line.
         - The following also split the trailing comment of a given line.
git clone https://git.99rst.org/PROJECT