From: Zac Medico Date: Thu, 20 Dec 2007 17:01:28 +0000 (-0000) Subject: Fix a typo in the _non_category_dirs regex. X-Git-Tag: v2.2_pre1~142 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=30998cab0a6c95d5a23d03e2cd695abff708c5fa;p=portage.git Fix a typo in the _non_category_dirs regex. svn path=/main/trunk/; revision=8997 --- 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)