#1847 hub: fix BulkInsertProcessor call in CGImport
Merged 2 years ago by tkopecek. Opened 2 years ago by julian8628.
julian8628/koji issue/1846  into  master

file modified
+2 -2
@@ -6449,13 +6449,13 @@ 

          if rpmlist:

              insert = BulkInsertProcessor('archive_rpm_components')

              for rpminfo in rpmlist:

-                 insert.set(archive_id=archive_id, rpm_id=rpminfo['id'])

+                 insert.add_record(archive_id=archive_id, rpm_id=rpminfo['id'])

              insert.execute()

  

          if archives:

              insert = BulkInsertProcessor('archive_components')

              for archiveinfo in archives:

-                 insert.set(archive_id=archive_id, component_id=archiveinfo['id'])

+                 insert.add_record(archive_id=archive_id, component_id=archiveinfo['id'])

              insert.execute()

  

  

Metadata Update from @julian8628:
- Pull-request tagged with: testing-ready

2 years ago

rebased onto 876a050

2 years ago

Metadata Update from @jcupova:
- Pull-request tagged with: testing-done

2 years ago

Commit 2d3e306 fixes this pull-request

Pull-Request has been merged by tkopecek

2 years ago