We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb78c2a commit 4a29114Copy full SHA for 4a29114
python/extractor/semmle/populator.py
@@ -67,7 +67,7 @@ def main(sys_path = sys.path[:]):
67
update_analysis_version(last_version)
68
69
found_py2 = False
70
- if get_analysis_major_version() == 2:
+ if get_analysis_major_version() == 2 and options.extract_stdlib:
71
# Setup `sys_path` to use the Python 2 standard library
72
sys_path, found_py2 = get_py2_sys_path(logger, sys_path)
73
0 commit comments