Skip to content

Commit 7777bdb

Browse files
committed
Fix tests
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
1 parent 1ceb80c commit 7777bdb

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
@@ -381,7 +381,7 @@ def get_related_purls(self):
381381
return [p.package_url for p in self.packages.distinct().all()]
382382

383383
def aggregate_fixed_and_affected_packages(self):
384-
from vulnerabilities.views import get_purl_version_class
384+
from vulnerabilities.utils import get_purl_version_class
385385

386386
sorted_fixed_by_packages = self.fixed_by_packages.filter(is_ghost=False).order_by(
387387
"type", "namespace", "name", "qualifiers", "subpath"

0 commit comments

Comments
 (0)