From: Zac Medico Date: Thu, 20 Dec 2007 17:02:19 +0000 (-0000) Subject: Fix a typo in the _non_category_dirs regex. (trunk r8997) X-Git-Tag: v2.1.4~75 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e20bb96f5766586f1bee89d8ba0617801e2f1636;p=portage.git Fix a typo in the _non_category_dirs regex. (trunk r8997) svn path=/main/branches/2.1.2/; revision=8998 --- diff --git a/pym/portage.py b/pym/portage.py index abe0ebb73..7dfa17413 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -6703,7 +6703,7 @@ 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)^$' % \ + _non_category_dirs = re.compile(r'^(%s)$' % \ "|".join(["eclass", "profiles", "scripts"])) def __init__(self,porttree_root,mysettings=None): portdbapi.portdbapi_instances.append(self)