Skip to content

Commit

Permalink
testing modification of CPE
Browse files Browse the repository at this point in the history
  • Loading branch information
sudesh0sudesh authored and sudesh0sudesh committed Apr 10, 2024
1 parent 13f7550 commit b27130d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion opencve/commands/imports/cve.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def run():
info(cpe_info)

except Exception as e:
cpe=None
cpe_info={}


vendors_products = convert_cpes(cpe_info)
Expand Down
2 changes: 1 addition & 1 deletion opencve/commands/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def create_cve(cls, cve_json):
info(cpe_info)

except Exception as e:
cpe=None
cpe_info={}

vendors_products = convert_cpes(cpe_info)
vendors_flatten = flatten_vendors(vendors_products)
Expand Down

0 comments on commit b27130d

Please sign in to comment.