From 7405fdccd73364662089f1001231bf8c24916ca3 Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 3 May 2024 06:10:41 +0100 Subject: eclean: dist: fix operating on an empty directory Zac pointed out that not all return paths had been updated. Bug: https://bugs.gentoo.org/928138 Fixes: 87912b460c533f8b010617018fdad42246db85f0 Signed-off-by: Sam James --- pym/gentoolkit/eclean/search.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pym/gentoolkit/eclean/search.py b/pym/gentoolkit/eclean/search.py index b696b63..7f050ee 100644 --- a/pym/gentoolkit/eclean/search.py +++ b/pym/gentoolkit/eclean/search.py @@ -115,10 +115,11 @@ class DistfilesSearch: pkgs = {} saved = {} deprecated = {} + vcs = {} installed_included = False # Check if DISTDIR is empty, return early if not os.listdir(_distdir): - return clean_me, saved, deprecated + return clean_me, saved, deprecated, vcs # create a big CPV->SRC_URI dict of packages # whose distfiles should be kept -- cgit v1.2.3-65-gdbad