Fix a typo in the _non_category_dirs regex. (trunk r8997)
authorZac Medico <zmedico@gentoo.org>
Thu, 20 Dec 2007 17:02:19 +0000 (17:02 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 20 Dec 2007 17:02:19 +0000 (17:02 -0000)
svn path=/main/branches/2.1.2/; revision=8998

pym/portage.py

index abe0ebb737c05c15648729869884de1a46e4ae52..7dfa17413e155a12bee338fcfd4bd25e0c7237d9 100644 (file)
@@ -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)