From a8cc1d73d3a46a5ee112b49042062e28cf9cb079 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 2 Sep 2010 14:32:12 -0700 Subject: [PATCH] Make MaskManager use tuples for values inside _pmaskdict and _punmaskdict. --- pym/portage/package/ebuild/_config/MaskManager.py | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.26.2