From 4ecf75295a2667c8ca4fc4d3c1d6af226a8b4761 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubom=C3=ADr=20Sedl=C3=A1=C5=99?= Date: Fri, 20 Jul 2018 12:34:29 +0200 Subject: [PATCH] gather: Allow empty result for gather MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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ář --- pungi/gather.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/pungi/gather.py b/pungi/gather.py index e68be013..2f991e5c 100644 --- a/pungi/gather.py +++ b/pungi/gather.py @@ -950,9 +950,6 @@ class Pungi(PungiBase): if name_arch in prepopulate_packages: self.prepopulate_packages.add(po) - if not self.po_list: - raise RuntimeError("No packages found") - self.logger.info('Finished gathering package objects.') def gather(self):