gather: Allow empty result for gather
This only affects Yum backend, and allows to mention packages in comps groups before they become available. This means a compose can be set up ahead of all packages being available, and it will simply produce empty repos. Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
b772d4a773
commit
4ecf75295a
@ -950,9 +950,6 @@ class Pungi(PungiBase):
|
|||||||
if name_arch in prepopulate_packages:
|
if name_arch in prepopulate_packages:
|
||||||
self.prepopulate_packages.add(po)
|
self.prepopulate_packages.add(po)
|
||||||
|
|
||||||
if not self.po_list:
|
|
||||||
raise RuntimeError("No packages found")
|
|
||||||
|
|
||||||
self.logger.info('Finished gathering package objects.')
|
self.logger.info('Finished gathering package objects.')
|
||||||
|
|
||||||
def gather(self):
|
def gather(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user