From: Zac Medico Date: Thu, 31 Jan 2008 07:46:28 +0000 (-0000) Subject: Add 'local' to the list of non_category_dirs since it's commonly X-Git-Tag: v2.2_pre1~32 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f5a25609426da5fb0787193513cbfb007f08ddfc;p=portage.git Add 'local' to the list of non_category_dirs since it's commonly used for layman overlays. svn path=/main/trunk/; revision=9241 --- diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py index 813d9229d..e9fad0956 100644 --- a/pym/portage/dbapi/porttree.py +++ b/pym/portage/dbapi/porttree.py @@ -28,7 +28,7 @@ class portdbapi(dbapi): """this tree will scan a portage directory located at root (passed to init)""" portdbapi_instances = [] _non_category_dirs = ["distfiles", "eclass", "licenses", - "metadata", "packages", "profiles", "scripts"] + "local", "metadata", "packages", "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)