mirror of
https://github.com/github/codeql.git
synced 2026-04-26 01:05:15 +02:00
python: allow namespace packages as packages
remove the logic around isPotentialPackage
This commit is contained in:
committed by
yoff
parent
362cf107a4
commit
1d4832cbfe
@@ -2,5 +2,5 @@ def afunc():
|
||||
print("afunc called")
|
||||
return 1
|
||||
|
||||
from baz.foo import foo_func
|
||||
foo_func() # $ MISSING: pt,tt="baz/foo.py:foo_func"
|
||||
from not_root.baz.foo import foo_func
|
||||
foo_func() # $ pt,tt="not_root/baz/foo.py:foo_func"
|
||||
|
||||
Reference in New Issue
Block a user