File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1111 */
1212
1313import python
14- private import LegacyPointsTo
14+ private import semmle.python.dataflow.new.internal.ImportResolution
1515
16- from ModuleValue m , int n
17- where n = count ( ModuleValue imp | imp = m . getAnImportedModule ( ) )
18- select m . getScope ( ) , n
16+ from Module m , int n
17+ where n = count ( Module imp | ImportResolution :: imports ( m , imp ) )
18+ select m , n
Original file line number Diff line number Diff line change 1111 */
1212
1313import python
14- private import LegacyPointsTo
14+ private import semmle.python.dataflow.new.internal.ImportResolution
1515
16- from ModuleValue m , int n
17- where n = count ( ModuleValue imp | imp = m . getAnImportedModule + ( ) and imp != m )
18- select m . getScope ( ) , n
16+ from Module m , int n
17+ where n = count ( Module imp | ImportResolution :: imports + ( m , imp ) and imp != m )
18+ select m , n
You can’t perform that action at this time.
0 commit comments