summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-01-31 07:46:28 +0000
committerZac Medico <zmedico@gentoo.org>2008-01-31 07:46:28 +0000
commitf5a25609426da5fb0787193513cbfb007f08ddfc (patch)
treee9fadaecd346ce5b0ccc8a2db126d4aab8163119
parent33bb697009be4ac3631d46ebabe27e47a6265523 (diff)
downloadportage-f5a25609426da5fb0787193513cbfb007f08ddfc.tar.gz
portage-f5a25609426da5fb0787193513cbfb007f08ddfc.tar.bz2
portage-f5a25609426da5fb0787193513cbfb007f08ddfc.zip
Add 'local' to the list of non_category_dirs since it's commonly
used for layman overlays. svn path=/main/trunk/; revision=9241
-rw-r--r--pym/portage/dbapi/porttree.py2
1 files changed, 1 insertions, 1 deletions
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)