From 69adf35e84f3da067f85372edd2f6c2568d6ee9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubom=C3=ADr=20Sedl=C3=A1=C5=99?= Date: Thu, 9 Nov 2017 14:11:41 +0100 Subject: [PATCH] gather: get_packages_to_gather returns a tuple MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It always needs to return a tuple, otherwise there would be crashes. Signed-off-by: Lubomír Sedlář --- pungi/phases/gather/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pungi/phases/gather/__init__.py b/pungi/phases/gather/__init__.py index 81cd9742..23b9079b 100644 --- a/pungi/phases/gather/__init__.py +++ b/pungi/phases/gather/__init__.py @@ -532,7 +532,7 @@ def get_packages_to_gather(compose, arch=None, variant=None, include_arch=True, be included in a list of packages. """ if compose.conf["gather_source"] == "module": - return [] + return ([], []) arches = [arch] if arch else compose.get_arches()