summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/dbapi/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/dbapi/__init__.py b/pym/portage/dbapi/__init__.py
index 95219322f..064309cf8 100644
--- 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: