summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/Package.py3
1 files changed, 2 insertions, 1 deletions
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)