f1a093ebed17dab737153888733c06ed807b6746,PyInstaller/depend/analysis.py,TOC,append,#TOC#Any#,250

Before Change


                self.data.append(tpl)
                self.fltr[fn] = 1
        except TypeError:
            logger.info("TOC found a %s, not a tuple", tpl)
            raise

    def insert(self, pos, tpl):
        fn = tpl[0]

After Change


        name, path, typecode = self._normentry(entry)
        if name not in self.filenames:
            self.data.append((name, path, typecode))
            self.filenames.add(name)

    def insert(self, pos, entry):
        name, path, typecode = self._normentry(entry)
        if name not in self.filenames:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: pyinstaller/pyinstaller
Commit Name: f1a093ebed17dab737153888733c06ed807b6746
Time: 2015-05-11
Author: h.goebel@crazy-compilers.com
File Name: PyInstaller/depend/analysis.py
Class Name: TOC
Method Name: append


Project Name: home-assistant/home-assistant
Commit Name: bfb5089ed59f1df8cf53a3b517ac6b091f539a26
Time: 2015-03-08
Author: andyt05@gmail.com
File Name: homeassistant/components/device_tracker/nmap_tracker.py
Class Name: NmapDeviceScanner
Method Name: _update_info


Project Name: allenai/allennlp
Commit Name: 40ec35876d38c4797ad3ee9bf911b019faa5a61d
Time: 2017-08-25
Author: mattg@allenai.org
File Name: allennlp/nn/initializers.py
Class Name: InitializerApplicator
Method Name: __call__