summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage.py2
1 files changed, 1 insertions, 1 deletions
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)