Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fa6aec7

Browse files
tausbnRasmusWL
authored andcommitted
Python: Model owslib.etree.etree directly
Somehow, this alias did not get picked up by the tooling.
1 parent 6d40e7e commit fa6aec7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • python/ql/lib/semmle/python/frameworks

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ 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
2931
result = ModelOutput::getATypeNode("lxml.etree~Alias")
3032
}
3133

0 commit comments

Comments
 (0)