From: Zac Medico Date: Tue, 14 Sep 2010 21:25:49 +0000 (-0700) Subject: Only initialize Package.inherited to an empty set when it is None. X-Git-Tag: v2.2_rc82~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=34999bfc297425d49515e7df8df15d46db154162;p=portage.git Only initialize Package.inherited to an empty set when it is None. --- 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)