git.99rst.org
/
stevenblack-hosts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
1fea720
)
Fix tests issue
author
funilrys
<redacted>
Wed, 28 Feb 2018 22:22:32 +0000
(23:22 +0100)
committer
funilrys
<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
patch
|
blob
|
history
diff --git
a/updateHostsFile.py
b/updateHostsFile.py
index c714d92d50125c2b8d9cc99d32d821d860f52f57..5e0002983aac9f92f5c9be1d100254ffdaf49312 100644
(file)
--- a/
updateHostsFile.py
+++ b/
updateHostsFile.py
@@
-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