aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2024-02-16 18:34:39 -0800
committerBrian Dolbec <dolsen@gentoo.org>2024-02-17 18:16:28 -0800
commitf410ba4ae94c801564f5b0bd3003e429adf2b12e (patch)
tree27f91d9506075f541eb9e520ef8653c3d2fea3c9
parentInitial tests for _deps_equal() (diff)
downloadgentoolkit-f410ba4ae94c801564f5b0bd3003e429adf2b12e.tar.gz
gentoolkit-f410ba4ae94c801564f5b0bd3003e429adf2b12e.tar.bz2
gentoolkit-f410ba4ae94c801564f5b0bd3003e429adf2b12e.zip
eclean/search.py: Fix find_packages docstring for invalid_paths
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
-rw-r--r--pym/gentoolkit/eclean/search.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/pym/gentoolkit/eclean/search.py b/pym/gentoolkit/eclean/search.py
index 47df3a1..b696b63 100644
--- a/pym/gentoolkit/eclean/search.py
+++ b/pym/gentoolkit/eclean/search.py
@@ -591,7 +591,6 @@ def findPackages(
) -> tuple[dict[str, list[str]], dict[str, list[str]]]:
"""Find obsolete binary packages.
- @param invalid_paths:
@param options: dict of options determined at runtime
@type options: dict
@param exclude: exclusion dict (as defined in the exclude.parseExcludeFile class)
@@ -610,8 +609,8 @@ def findPackages(
@param var_dbapi: defaults to portage.db[portage.root]["vartree"].dbapi
Can be overridden for tests.
- @return binary packages to remove. e.g. {'cat/pkg-ver': [filepath]}
- @rtype: dict
+ @return binary packages to remove. e.g. {'cat/pkg-ver': [filepath]}, invalid_paths
+ @rtype: dict, dict
"""
if exclude is None:
exclude = {}