File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -817,17 +817,19 @@ def get_affecting_vulnerabilities(self):
817817 @property
818818 def fixing_vulnerabilities (self ):
819819 """
820- Return a queryset of Vulnerabilities that are fixed by this ` package` .
820+ Return a queryset of Vulnerabilities that are fixed by this package.
821821 """
822822 return self .vulnerabilities .filter (packagerelatedvulnerability__fix = True )
823823
824824 @property
825- def affecting_vulnerabilities (self ):
825+ def affected_by_vulnerabilities (self ):
826826 """
827- Return a queryset of Vulnerabilities that affect this ` package` .
827+ Return a queryset of Vulnerabilities that affect this package.
828828 """
829829 return self .vulnerabilities .filter (packagerelatedvulnerability__fix = False )
830830
831+ affecting_vulnerabilities = affected_by_vulnerabilities
832+
831833
832834class PackageRelatedVulnerability (models .Model ):
833835 """
You can’t perform that action at this time.
0 commit comments