diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-12-20 17:01:28 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-12-20 17:01:28 +0000 |
commit | 30998cab0a6c95d5a23d03e2cd695abff708c5fa (patch) | |
tree | db412c270533e9d24af8b4c6c15cbce8532eb739 | |
parent | bc77fbb7e0812d5d5561ff46c3da9c3a2fdeeb60 (diff) | |
download | portage-30998cab0a6c95d5a23d03e2cd695abff708c5fa.tar.gz portage-30998cab0a6c95d5a23d03e2cd695abff708c5fa.tar.bz2 portage-30998cab0a6c95d5a23d03e2cd695abff708c5fa.zip |
Fix a typo in the _non_category_dirs regex.
svn path=/main/trunk/; revision=8997
-rw-r--r-- | pym/portage/dbapi/porttree.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |