From 30998cab0a6c95d5a23d03e2cd695abff708c5fa Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 20 Dec 2007 17:01:28 +0000 Subject: Fix a typo in the _non_category_dirs regex. svn path=/main/trunk/; revision=8997 --- pym/portage/dbapi/porttree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py index 083485472..89bc80161 100644 --- a/pym/portage/dbapi/porttree.py +++ b/pym/portage/dbapi/porttree.py @@ -27,7 +27,7 @@ from itertools import izip 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)^$' % \ + _non_category_dirs = re.compile(r'^(%s)$' % \ "|".join(["eclass", "profiles", "scripts"])) def __init__(self, porttree_root, mysettings=None): portdbapi.portdbapi_instances.append(self) -- cgit v1.2.3-1-g7c22