From 262cdc8dc009745b86e43702ec82ee84b8df5672 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 21 Dec 2007 00:59:38 +0000 Subject: Add "metadata" and "licenses" to _non_category_dirs. (trunk r9008) svn path=/main/branches/2.1.2/; revision=9009 --- pym/portage.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pym/portage.py b/pym/portage.py index 7be824bc8..7dd7d22ef 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -6703,8 +6703,9 @@ def close_portdbapi_caches(): 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