From bb5ce895f6bf1047864369cd25394728b6c68493 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 14 Sep 2010 09:36:45 -0700 Subject: [PATCH] Ensure that Package.inherited is always initialized, even if there is no INHERITED metadata available (like for binary packages). --- pym/_emerge/Package.py | 1 + 1 file changed, 1 insertion(+) 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) -- 2.26.2