projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81bc042
)
Fix dbapi._iter_match_use() to escape IUSE values when necessary.
author
Zac Medico
<zmedico@gentoo.org>
Tue, 27 May 2008 04:50:37 +0000
(
04:50
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 27 May 2008 04:50:37 +0000
(
04:50
-0000)
svn path=/main/trunk/; revision=10445
pym/portage/dbapi/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/__init__.py
b/pym/portage/dbapi/__init__.py
index 95219322f9350af6e83c66a65b9701733cbbaf03..064309cf8ccbfcedfcc8a92c131873a10cd3f880 100644
(file)
--- a/
pym/portage/dbapi/__init__.py
+++ b/
pym/portage/dbapi/__init__.py
@@
-149,7
+149,7
@@
class dbapi(object):
iuse, use = self.aux_get(cpv, ["IUSE", "USE"])
use = use.split()
iuse = self._iuse_implicit.union(
-
x.lstrip("+-"
) for x in iuse.split())
+
re.escape(x.lstrip("+-")
) for x in iuse.split())
iuse_re = re.compile("^(%s)$" % "|".join(iuse))
missing_iuse = False
for x in atom.use.required: