From e20bb96f5766586f1bee89d8ba0617801e2f1636 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 20 Dec 2007 17:02:19 +0000 Subject: [PATCH] Fix a typo in the _non_category_dirs regex. (trunk r8997) svn path=/main/branches/2.1.2/; revision=8998 --- pym/portage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.26.2