From: Zac Medico Date: Tue, 14 Sep 2010 16:36:45 +0000 (-0700) Subject: Ensure that Package.inherited is always initialized, even if there is no X-Git-Tag: v2.2_rc82~4 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bb5ce895f6bf1047864369cd25394728b6c68493;p=portage.git Ensure that Package.inherited is always initialized, even if there is no INHERITED metadata available (like for binary packages). --- diff --git a/pym/_emerge/Package.py b/pym/_emerge/Package.py index d0b0e4918..8966aacc1 100644 --- a/pym/_emerge/Package.py +++ b/pym/_emerge/Package.py @@ -61,6 +61,7 @@ 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() self._validate_deps() self.masks = self._masks() self.visible = self._visible(self.masks)