commit:     6a9be2d05751558d7d34e900dfc06a721278b447
Author:     Martin Matous <m <AT> matous <DOT> dev>
AuthorDate: Sat Jul  9 03:05:58 2022 +0000
Commit:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Sat Jul  9 03:10:24 2022 +0000
URL:        https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=6a9be2d0

equery: update linguas->l10n option

Signed-off-by: Martin Matous <m <AT> matous.dev>

Signed-off-by: Brian Dolbec <dolsen <AT> gentoo.org>

 man/equery.1                  | 4 ++--
 pym/gentoolkit/equery/uses.py | 3 +--
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/man/equery.1 b/man/equery.1
index 83aba0d..ee7ad7b 100644
--- a/man/equery.1
+++ b/man/equery.1
@@ -547,9 +547,9 @@ Display all package versions. Without this option, 
\fBequery\fP will choose the
 .br
 Show the forced and masked USE flags
 .HP
-.B \-i, \-\-ignore\-linguas
+.B \-i, \-\-ignore\-l10n
 .br
-Do not show the linguas USE flags
+Do not show the l10n USE flags
 .P
 .I R "EXAMPLES" ":"
 .EX

diff --git a/pym/gentoolkit/equery/uses.py b/pym/gentoolkit/equery/uses.py
index 7af7f43..89f011c 100644
--- a/pym/gentoolkit/equery/uses.py
+++ b/pym/gentoolkit/equery/uses.py
@@ -215,8 +215,7 @@ def get_output_descriptions(pkg, global_usedesc):
 
     if QUERY_OPTS["ignore_l10n"]:
         for a in usevar[:]:
-            # TODO: Remove linguas after transition to l10n is complete
-            if a.startswith("l10n_") or a.startswith("linguas_"):
+            if a.startswith("l10n_"):
                 usevar.remove(a)
 
     if pkg.is_installed():

Reply via email to