3b2c309b3c29d05fee2e4d00e9210301fd0b4cfc,lib/cpelist.py,CPEList,importList,#CPEList#Any#,108

Before Change


                print("{} products added to the list".format(count))
        except IOError:
            print("The list is corrupted!")
            sys.exit()

    // export a file that represents the cpe list
    def exportList(self, exportFile=None):
        listed = getattr(db, "get" + self.collection)()

After Change


        try:
            importFile = importFile.read().decode("utf-8").replace("\n", "").replace(" ", "")
        except AttributeError:
            importFile = importFile.decode("utf-8").replace("\n", "").replace(" ", "")

        try:
            for line in json.loads(importFile):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: cve-search/cve-search
Commit Name: 3b2c309b3c29d05fee2e4d00e9210301fd0b4cfc
Time: 2020-10-22
Author: paul.tikken@gmail.com
File Name: lib/cpelist.py
Class Name: CPEList
Method Name: importList


Project Name: studioml/studio
Commit Name: 8557e7ef046c280fbb15cae3e0eefbbf6b9fd711
Time: 2020-05-01
Author: andrei.denissov@cognizant.com
File Name: studio/completion_service/encrypted_payload_builder.py
Class Name: EncryptedPayloadBuilder
Method Name: construct


Project Name: quantumlib/Cirq
Commit Name: c2c7d609548a793f17c941a3a7150b461d972e88
Time: 2020-09-16
Author: balopat@users.noreply.github.com
File Name: dev_tools/auto_merge.py
Class Name:
Method Name: main