GatherSourceModule: return rpm_obj instead of the rpm_obj.name
Merges: https://pagure.io/pungi/pull-request/680 Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
This commit is contained in:
parent
32ca02efd6
commit
5dd6b1b0e7
@ -65,7 +65,7 @@ class GatherSourceModule(pungi.phases.gather.source.GatherSourceBase):
|
||||
if (srpm in mmd.components.rpms.keys() and
|
||||
rpm_obj.name not in mmd.filter.rpms and
|
||||
rpm_obj.nevra in mmd.artifacts.rpms):
|
||||
packages.add((rpm_obj.name, None))
|
||||
packages.add((rpm_obj, None))
|
||||
added_rpms.setdefault(mmd_id, [])
|
||||
added_rpms[mmd_id].append(str(rpm_obj.nevra))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user