Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Commit

Permalink
fix: CVE for hashing
Browse files Browse the repository at this point in the history
  • Loading branch information
jjeff07 committed Jan 4, 2022
1 parent c805e99 commit 6e81c94
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ipfabric/tools/nist.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ class CVE(BaseModel):
def __repr__(self):
return self.cve_id

def __hash__(self):
return hash(self.cve_id)


class CVEs(BaseModel):
total_results: int
Expand Down

0 comments on commit 6e81c94

Please sign in to comment.