Add 'local' to the list of non_category_dirs since it's commonly
authorZac Medico <zmedico@gentoo.org>
Thu, 31 Jan 2008 08:26:40 +0000 (08:26 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 31 Jan 2008 08:26:40 +0000 (08:26 -0000)
used for layman overlays. (trunk r9241)

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

pym/portage.py

index 27647514a300339f8b8a5211386ea06d869ae768..10f18c5079de5557e150d1a540836561b6a88249 100644 (file)
@@ -6796,7 +6796,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)