diff options
-rw-r--r-- | pym/_emerge/Package.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/pym/_emerge/Package.py b/pym/_emerge/Package.py index f11da6ee5..d7efbf2ae 100644 --- a/pym/_emerge/Package.py +++ b/pym/_emerge/Package.py @@ -73,6 +73,9 @@ class Package(Task): else: self.operation = "merge" + self._hash_key = \ + (self.type_name, self.root, self.cpv, self.operation) + def _validate_deps(self): """ Validate deps. This does not trigger USE calculation since that @@ -405,10 +408,6 @@ class Package(Task): return missing_iuse def _get_hash_key(self): - hash_key = getattr(self, "_hash_key", None) - if hash_key is None: - self._hash_key = \ - (self.type_name, self.root, self.cpv, self.operation) return self._hash_key def __lt__(self, other): |