Skip to content

Commit

Permalink
Update vulnerabilities/models.py
Browse files Browse the repository at this point in the history
Co-authored-by: Philippe Ombredanne <[email protected]>
  • Loading branch information
Hritik14 and pombredanne authored Jan 25, 2022
1 parent 4cb18c9 commit 544760c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vulnerabilities/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def update_or_create(self):
)

except self.DoesNotExist:
self.__class__.objects.create(
PackageRelatedVulnerability.objects.create(
vulnerability=self.vulnerability,
created_by=self.created_by,
package=self.package,
Expand Down

0 comments on commit 544760c

Please sign in to comment.