summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-01-07 22:17:34 +0000
committerZac Medico <zmedico@gentoo.org>2008-01-07 22:17:34 +0000
commitb2b99a7909cca324f983835b9887839bb3ea1d21 (patch)
tree469882befc4e2f1e789eee2308bbfbc15e970f95 /pym
parent066d841129e7df3ee5841ab9c433378d202402e2 (diff)
downloadportage-b2b99a7909cca324f983835b9887839bb3ea1d21.tar.gz
portage-b2b99a7909cca324f983835b9887839bb3ea1d21.tar.bz2
portage-b2b99a7909cca324f983835b9887839bb3ea1d21.zip
Bug #204753 - Add "distfiles" and "packages" to the list of
non-category directories. svn path=/main/trunk/; revision=9155
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/dbapi/porttree.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py
index 61ce3c47b..813d9229d 100644
--- a/pym/portage/dbapi/porttree.py
+++ b/pym/portage/dbapi/porttree.py
@@ -27,8 +27,8 @@ 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 = ["eclass", "licenses",
- "metadata", "profiles", "scripts"]
+ _non_category_dirs = ["distfiles", "eclass", "licenses",
+ "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)