projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc77fbb
)
Fix a typo in the _non_category_dirs regex.
author
Zac Medico
<zmedico@gentoo.org>
Thu, 20 Dec 2007 17:01:28 +0000
(17:01 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 20 Dec 2007 17:01:28 +0000
(17:01 -0000)
svn path=/main/trunk/; revision=8997
pym/portage/dbapi/porttree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/porttree.py
b/pym/portage/dbapi/porttree.py
index 0834854720c897a52cd1c5219cc847219f3597d6..89bc801618302bb74ac7332b4a1a81ec878d2d83 100644
(file)
--- 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)