diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-09-14 09:36:45 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-09-14 09:37:51 -0700 |
commit | bb5ce895f6bf1047864369cd25394728b6c68493 (patch) | |
tree | 34d6e9472fce5919588abed68e62ef41607a43ce | |
parent | f2375609adc80ebe5395d84902af4045ecea2f73 (diff) | |
download | portage-bb5ce895f6bf1047864369cd25394728b6c68493.tar.gz portage-bb5ce895f6bf1047864369cd25394728b6c68493.tar.bz2 portage-bb5ce895f6bf1047864369cd25394728b6c68493.zip |
Ensure that Package.inherited is always initialized, even if there is no
INHERITED metadata available (like for binary packages).
-rw-r--r-- | pym/_emerge/Package.py | 1 |
1 files changed, 1 insertions, 0 deletions
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) |