diff options
-rw-r--r-- | pym/_emerge/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index bb9ae689d..996590da0 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -3890,6 +3890,9 @@ class BlockerCache(DictMixin): self._modified.add(cpv) def __iter__(self): + if self._cache_data is None: + # triggered by python-trace + return iter([]) return iter(self._cache_data["blockers"]) def __delitem__(self, cpv): |