09a68eb00215859005835514a5d04b01f936ed1d,PyInstaller/depend/analysis.py,PyiModuleGraph,nodes_to_toc,#PyiModuleGraph#Any#Any#,595
Before Change
for node in node_list:
mg_type = type(node).__name__
toc_type = MODULE_TYPES_TO_TOC_DICT[mg_type]
if mg_type == "Script" :
(name, ext) = os.path.splitext(node.filename)
name = os.path.basename(name)
else:
name = node.identifier
path = node.filename if node.filename is not None else ""
result.append( (name, path, toc_type) )
return result
After Change
result = existing_TOC or TOC()
for node in node_list:
result.append(self._node_to_toc(node))
return result
// Return true if the named item is in the graph as a BuiltinModule node.
// The passed name is a basename.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances Project Name: pyinstaller/pyinstaller
Commit Name: 09a68eb00215859005835514a5d04b01f936ed1d
Time: 2020-10-18
Author: h.goebel@crazy-compilers.com
File Name: PyInstaller/depend/analysis.py
Class Name: PyiModuleGraph
Method Name: nodes_to_toc
Project Name: pyinstaller/pyinstaller
Commit Name: 09a68eb00215859005835514a5d04b01f936ed1d
Time: 2020-10-18
Author: h.goebel@crazy-compilers.com
File Name: PyInstaller/depend/analysis.py
Class Name: PyiModuleGraph
Method Name: _make_toc
Project Name: danforthcenter/plantcv
Commit Name: 03a6b9ff539e067e2cd7bf0abb078796ab22745a
Time: 2019-02-11
Author: haleyschuhl@gmail.com
File Name: plantcv/plantcv/analyze_nir_intensity.py
Class Name:
Method Name: analyze_nir_intensity