Skip to content

Commit f4c59d5

Browse files
committed
Return version rank anyhow
Signed-off-by: Tushar Goel <[email protected]>
1 parent 30af5b5 commit f4c59d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vulnerabilities/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ def calculate_version_rank(self):
770770
for rank, package in enumerate(sorted_packages, start=1):
771771
package.version_rank = rank
772772
Package.objects.bulk_update(sorted_packages, fields=["version_rank"])
773-
return self.version_rank
773+
return self.version_rank
774774

775775
@property
776776
def affected_by(self):

0 commit comments

Comments
 (0)