From: Zac Medico Date: Fri, 21 Dec 2007 00:59:38 +0000 (-0000) Subject: Add "metadata" and "licenses" to _non_category_dirs. (trunk r9008) X-Git-Tag: v2.1.4~71 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=262cdc8dc009745b86e43702ec82ee84b8df5672;p=portage.git Add "metadata" and "licenses" to _non_category_dirs. (trunk r9008) svn path=/main/branches/2.1.2/; revision=9009 --- 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)