Skip to content

Commit 1e5b47b

Browse files
committed
Fix: Use iterator instead of paginated
Signed-off-by: MohannadAK <[email protected]>
1 parent 1a3233c commit 1e5b47b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

purl2vcs/src/purl2vcs/find_source_repo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def get_source_package_for_all_packages():
188188
Add the PackageURL of the source repository of a Package
189189
if found
190190
"""
191-
for package in Package.objects.all().paginated():
191+
for package in Package.objects.all().iterator():
192192
get_source_package_and_add_to_package_set(package)
193193

194194

0 commit comments

Comments
 (0)