projects
/
gentoolkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05aef48
)
Revert altering keywords_content. This change was not ready yet.
author
scarabeus
<scarabeus@gentoo.org>
Tue, 2 Nov 2010 14:07:08 +0000
(14:07 -0000)
committer
scarabeus
<scarabeus@gentoo.org>
Tue, 2 Nov 2010 14:07:08 +0000
(14:07 -0000)
svn path=/trunk/gentoolkit/; revision=844
pym/gentoolkit/eshowkw/keywords_content.py
patch
|
blob
|
history
diff --git
a/pym/gentoolkit/eshowkw/keywords_content.py
b/pym/gentoolkit/eshowkw/keywords_content.py
index 235d8a702022f4cebaba4c25a9ee8badc4e2b1c1..7f820268b074f854fe6cc22d5920e1afe777f8ca 100644
(file)
--- a/
pym/gentoolkit/eshowkw/keywords_content.py
+++ b/
pym/gentoolkit/eshowkw/keywords_content.py
@@
-155,11
+155,7
@@
class keywords_content:
def __checkExist(self, pdb, package):
"""Check if specified package even exists."""
try:
- cp = port.dep_expand(package, mydb=pdb, settings=pdb.settings).cp
- matches = []
- for repo in pdb.porttrees:
- for cpv in pdb.cp_list(mycp=cp,mytree=[repo]):
- matches.append((cpv, repo))
+ matches = pdb.xmatch('match-all', package)
except port.exception.AmbiguousPackageName as Arg:
msg_err = 'Ambiguous package name "%s".\n' % package
found = 'Possibilities: %s' % Arg