projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87c0bcd
)
Make portdbapi.visible() mask ebuilds that do not define SLOT.
author
Zac Medico
<zmedico@gentoo.org>
Thu, 13 Dec 2007 06:28:23 +0000
(06:28 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 13 Dec 2007 06:28:23 +0000
(06:28 -0000)
(branches/2.1.2 r8900)
svn path=/main/trunk/; revision=8901
pym/portage/dbapi/porttree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/porttree.py
b/pym/portage/dbapi/porttree.py
index db2b35aff6aa7af8a60af8d95e9ff37d36254ad0..0ed55fba858fe55474f713fbf821b91ee2d1c6eb 100644
(file)
--- a/
pym/portage/dbapi/porttree.py
+++ b/
pym/portage/dbapi/porttree.py
@@
-701,6
+701,8
@@
class portdbapi(dbapi):
except KeyError:
# masked by corruption
continue
+ if not metadata["SLOT"]:
+ continue
if getMaskAtom(cpv, metadata):
continue
if getProfileMaskAtom(cpv, metadata):