09a68eb00215859005835514a5d04b01f936ed1d,PyInstaller/depend/analysis.py,PyiModuleGraph,_make_toc,#PyiModuleGraph#,515

Before Change


            // Extract the identifier and a path if any.
            if mg_type == "Script":
                // for Script nodes only, identifier is a whole path
                (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 ""

After Change


            if module_filter.match(node.identifier):
                continue
            entry = self._node_to_toc(node, typecode)
            if entry is not None:
                // TOC.append the data. This checks for a pre-existing name
                // and skips it if it exists.
                result.append(entry)
        return result

    def make_pure_toc(self):
        
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

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: _make_toc


Project Name: developmentseed/label-maker
Commit Name: 6533f4a2123077c55d3a0c8bc04bb5e71c8b36de
Time: 2018-05-08
Author: jreiberkyle@users.noreply.github.com
File Name: label_maker/utils.py
Class Name:
Method Name: is_tif


Project Name: developmentseed/label-maker
Commit Name: f4d4d575203f952dd003a6b2398cd01e02669fc1
Time: 2018-02-25
Author: drew@developmentseed.org
File Name: label_maker/images.py
Class Name:
Method Name: download_images