projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11321cf
)
Validate categories. (trunk r15305)
author
Zac Medico
<zmedico@gentoo.org>
Tue, 2 Mar 2010 19:51:33 +0000
(19:51 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 2 Mar 2010 19:51:33 +0000
(19:51 -0000)
svn path=/main/branches/2.1.7/; revision=15540
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index 8f4ef455be75d09786c818d8cecddcd67b925ae2..8aece25b9923ab708bacbd3970fd9d5896807949 100644
(file)
--- a/
pym/portage/__init__.py
+++ b/
pym/portage/__init__.py
@@
-2102,7
+2102,8
@@
class config(object):
#getting categories from an external file now
categories = [grabfile(os.path.join(x, "categories")) for x in locations]
self.categories = tuple(sorted(
- stack_lists(categories, incremental=1)))
+ x for x in stack_lists(categories, incremental=1)
+ if dbapi._category_re.match(x) is not None))
del categories
archlist = [grabfile(os.path.join(x, "arch.list")) for x in locations]