commit: 7405fdccd73364662089f1001231bf8c24916ca3 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Fri May 3 05:10:41 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri May 3 05:10:41 2024 +0000 URL: https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=7405fdcc
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 <sam <AT> gentoo.org> 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
