summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-12-21 00:59:38 +0000
committerZac Medico <zmedico@gentoo.org>2007-12-21 00:59:38 +0000
commit262cdc8dc009745b86e43702ec82ee84b8df5672 (patch)
tree4f05398c435f2e11d3af9962810c5f3880f7bea1 /pym
parent0e87b1e0e18212efc6a2613547025bf04fe9b715 (diff)
downloadportage-262cdc8dc009745b86e43702ec82ee84b8df5672.tar.gz
portage-262cdc8dc009745b86e43702ec82ee84b8df5672.tar.bz2
portage-262cdc8dc009745b86e43702ec82ee84b8df5672.zip
Add "metadata" and "licenses" to _non_category_dirs. (trunk r9008)
svn path=/main/branches/2.1.2/; revision=9009
Diffstat (limited to 'pym')
-rw-r--r--pym/portage.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 7be824bc8..7dd7d22ef 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -6703,8 +6703,9 @@ 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 = re.compile(r'^(%s)$' % \
- "|".join(["eclass", "profiles", "scripts"]))
+ _non_category_dirs = ["eclass", "licenses",
+ "metadata", "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)