summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-01-07 22:19:15 +0000
committerZac Medico <zmedico@gentoo.org>2008-01-07 22:19:15 +0000
commit3450fc768a01f461e14d6dde1fd1dbe59eb97690 (patch)
tree81badc41ef872efe8dc5d0da3a3b9257438b82bb
parent4851b488a44a4d8d82342aec7cc8b81c5ad5e6a3 (diff)
downloadportage-3450fc768a01f461e14d6dde1fd1dbe59eb97690.tar.gz
portage-3450fc768a01f461e14d6dde1fd1dbe59eb97690.tar.bz2
portage-3450fc768a01f461e14d6dde1fd1dbe59eb97690.zip
Bug #204753 - Add "distfiles" and "packages" to the list of
non-category directories. (trunk r9155) svn path=/main/branches/2.1.2/; revision=9156
-rw-r--r--pym/portage.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage.py b/pym/portage.py
index cf4a36826..a7efc64b4 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -6780,8 +6780,8 @@ 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 = ["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)