Gentoo Archives: gentoo-commits

From: Brian Dolbec <dolsen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: bin/
Date: Sun, 06 Mar 2016 18:05:56
Message-Id: 1457287002.24a33ede401d6d08a8e357eb1efaafb7158f3584.dolsen@gentoo
1 commit: 24a33ede401d6d08a8e357eb1efaafb7158f3584
2 Author: Göktürk Yüksek <gokturk <AT> binghamton <DOT> edu>
3 AuthorDate: Sun Mar 6 16:04:42 2016 +0000
4 Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 6 17:56:42 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=24a33ede
7
8 bin/portageq: add 'match_orphaned' to the non_commands list
9
10 Reported-By: Coacher
11 Signed-off-by: Göktürk Yüksek <gokturk <AT> binghamton.edu>
12
13 bin/portageq | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16 diff --git a/bin/portageq b/bin/portageq
17 index 803e26b..44eea2b 100755
18 --- a/bin/portageq
19 +++ b/bin/portageq
20 @@ -1223,7 +1223,7 @@ pquery.__doc__ = docstrings['pquery']
21 # DO NOT CHANGE CODE BEYOND THIS POINT - IT'S NOT NEEDED!
22 #
23
24 -non_commands = frozenset(['elog', 'eval_atom_use', 'exithandler', 'main', 'usage', 'uses_eroot'])
25 +non_commands = frozenset(['elog', 'eval_atom_use', 'exithandler', 'match_orphaned', 'main', 'usage', 'uses_eroot'])
26 commands = sorted(k for k, v in globals().items() \
27 if k not in non_commands and isinstance(v, types.FunctionType) and v.__module__ == "__main__")