From 3450fc768a01f461e14d6dde1fd1dbe59eb97690 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 7 Jan 2008 22:19:15 +0000 Subject: Bug #204753 - Add "distfiles" and "packages" to the list of non-category directories. (trunk r9155) svn path=/main/branches/2.1.2/; revision=9156 --- pym/portage.py | 4 ++-- 1 file 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) -- cgit v1.2.3-1-g7c22