Bug #204753 - Add "distfiles" and "packages" to the list of
authorZac Medico <zmedico@gentoo.org>
Mon, 7 Jan 2008 22:19:15 +0000 (22:19 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 7 Jan 2008 22:19:15 +0000 (22:19 -0000)
non-category directories. (trunk r9155)

svn path=/main/branches/2.1.2/; revision=9156

pym/portage.py

index cf4a3682663dd59417f908eb10303c850c4e0871..a7efc64b4644c599ce1def7ab6605f6e0d6815f5 100644 (file)
@@ -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)