summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/package/ebuild/_config/MaskManager.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pym/portage/package/ebuild/_config/MaskManager.py b/pym/portage/package/ebuild/_config/MaskManager.py
index 7a5fc5e17..26252d04f 100644
--- a/pym/portage/package/ebuild/_config/MaskManager.py
+++ b/pym/portage/package/ebuild/_config/MaskManager.py
@@ -39,6 +39,10 @@ class MaskManager(object):
for x in pkgunmasklines:
self._punmaskdict.setdefault(x.cp, []).append(x)
+ for d in (self._pmaskdict, self._punmaskdict):
+ for k, v in d.items():
+ d[k] = tuple(v)
+
def getMaskAtom(self, cpv, slot):
"""
Take a package and return a matching package.mask atom, or None if no