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

Please also note that I introduced that patch because
we do not directly use lxml but it is required by
BeautifulSup() to parse the HTML.

updateHostsFile.py

index c714d92d50125c2b8d9cc99d32d821d860f52f57..5e0002983aac9f92f5c9be1d100254ffdaf49312 100644 (file)
@@ -24,7 +24,7 @@ import tempfile
 import time
 from glob import glob
 
-import lxml
+import lxml # noqa: F401
 from bs4 import BeautifulSoup
 
 # Detecting Python 3 for version-dependent implementations
git clone https://git.99rst.org/PROJECT