Skip to content

Commit f74581a

Browse files
committed
Revert "Python: Model owslib.etree.etree directly"
This reverts commit 1213e78. By fixing a few bugs in the SubclassFinder + manually running Find.ql on the geonode DB from DCA, I found that the installed version of owslib had both: https://github.com/geopython/OWSLib/blob/0.27.2/owslib/etree.py
1 parent 6ef9a2b commit f74581a

File tree

1 file changed

+0
-2
lines changed
  • python/ql/lib/semmle/python/frameworks

1 file changed

+0
-2
lines changed

python/ql/lib/semmle/python/frameworks/Lxml.qll

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ module Lxml {
2626
API::Node etreeRef() {
2727
result = API::moduleImport("lxml").getMember("etree")
2828
or
29-
result = API::moduleImport("owslib").getMember("etree").getMember("etree")
30-
or
3129
result = ModelOutput::getATypeNode("lxml.etree~Alias")
3230
}
3331

0 commit comments

Comments
 (0)