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

Before Change


                except Exception as err:
                    print("Error encountered: {}".format(err))
            if self.args.v:
                print("{} products added to the list".format(count))
        except IOError:
            print("The list is corrupted!")
            sys.exit()

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):
                try:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

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: MycroftAI/mycroft-precise
Commit Name: 5ce56ff7e7f0c085bdff9745471c50aa4d0e1faa
Time: 2017-11-03
Author: matthew3311999@gmail.com
File Name: precise/stream.py
Class Name:
Method Name: main


Project Name: ultralytics/yolov3
Commit Name: 4879fd22e94c12cea4e74d3f70eb851ef38bbf68
Time: 2020-05-22
Author: glenn.jocher@ultralytics.com
File Name: utils/datasets.py
Class Name: LoadImagesAndLabels
Method Name: __init__