mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
Python: Fix use of StrConst.strValue()
This commit is contained in:
@@ -59,7 +59,7 @@ predicate contains_unknown_import_star(ModuleValue m) {
|
||||
from ModuleValue m, StrConst name, string exported_name
|
||||
where
|
||||
declaredInAll(m.getScope(), name) and
|
||||
exported_name = name.strValue() and
|
||||
exported_name = name.getText() and
|
||||
not m.hasAttribute(exported_name) and
|
||||
not is_exported_submodule_name(m, exported_name) and
|
||||
not contains_unknown_import_star(m) and
|
||||
|
||||
Reference in New Issue
Block a user