From de742ce2cc92f31558b3bc739fa2d139678d4c9d Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 21 Dec 2007 00:57:37 +0000 Subject: Add "metadata" and "licenses" to _non_category_dirs. svn path=/main/trunk/; revision=9008 --- pym/portage/dbapi/porttree.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pym') 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) -- cgit v1.2.3-1-g7c22