From 34999bfc297425d49515e7df8df15d46db154162 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 14 Sep 2010 14:25:49 -0700 Subject: [PATCH] Only initialize Package.inherited to an empty set when it is None. --- pym/_emerge/Package.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pym/_emerge/Package.py b/pym/_emerge/Package.py index 8966aacc1..cb14062ac 100644 --- a/pym/_emerge/Package.py +++ b/pym/_emerge/Package.py @@ -61,7 +61,8 @@ class Package(Task): self.category, self.pf = portage.catsplit(self.cpv) self.cpv_split = portage.catpkgsplit(self.cpv) self.pv_split = self.cpv_split[1:] - self.inherited = frozenset() + if self.inherited is None: + self.inherited = frozenset() self._validate_deps() self.masks = self._masks() self.visible = self._visible(self.masks) -- 2.26.2