3b2c309b3c29d05fee2e4d00e9210301fd0b4cfc,lib/cpelist.py,CPEList,importList,#CPEList#Any#,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:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
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: pandas-dev/pandas
Commit Name: 3639cb704267812603c47941145a8a754a1deb98
Time: 2020-11-17
Author: fangchen.li@outlook.com
File Name: pandas/_version.py
Class Name:
Method Name: git_versions_from_keywords
Project Name: okfn-brasil/serenata-de-amor
Commit Name: b45f9c6a3384964eaf864a76b907092fceab1bc3
Time: 2017-04-27
Author: marcus.rehm@gmail.com
File Name: src/fetch_cnpj_info.py
Class Name:
Method Name: fetch_cnpj_info