Skip to content

Commit c0f3027

Browse files
committed
Use built-in iterator for fetching packages
Signed-off-by: Keshav Priyadarshi <[email protected]>
1 parent 584b077 commit c0f3027

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vulnerabilities/management/commands/export.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def packages_by_type_ns_name():
159159
"fixing_vulnerabilities__weaknesses",
160160
"fixing_vulnerabilities__severities",
161161
)
162-
.paginated()
162+
.iterator()
163163
)
164164

165165
for tp_ns_name, packages in groupby(qs, key=by_purl_type_ns_name):

0 commit comments

Comments
 (0)