summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-12-21 00:57:37 +0000
committerZac Medico <zmedico@gentoo.org>2007-12-21 00:57:37 +0000
commitde742ce2cc92f31558b3bc739fa2d139678d4c9d (patch)
tree9dc555653ee9dda9d469573309a3902163d9cd4e
parenta90530ab29c7db0aadfd341412538e57bab6a1b4 (diff)
downloadportage-de742ce2cc92f31558b3bc739fa2d139678d4c9d.tar.gz
portage-de742ce2cc92f31558b3bc739fa2d139678d4c9d.tar.bz2
portage-de742ce2cc92f31558b3bc739fa2d139678d4c9d.zip
Add "metadata" and "licenses" to _non_category_dirs.
svn path=/main/trunk/; revision=9008
-rw-r--r--pym/portage/dbapi/porttree.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py
index 89bc80161..7df97959d 100644
--- a/pym/portage/dbapi/porttree.py
+++ b/pym/portage/dbapi/porttree.py
@@ -27,8 +27,9 @@ from itertools import izip
class portdbapi(dbapi):
"""this tree will scan a portage directory located at root (passed to init)"""
portdbapi_instances = []
- _non_category_dirs = re.compile(r'^(%s)$' % \
- "|".join(["eclass", "profiles", "scripts"]))
+ _non_category_dirs = ["eclass", "licenses",
+ "metadata", "profiles", "scripts"]
+ _non_category_dirs = re.compile(r'^(%s)$' % "|".join(_non_category_dirs))
def __init__(self, porttree_root, mysettings=None):
portdbapi.portdbapi_instances.append(self)