diff options
Diffstat (limited to 'pym/_emerge/__init__.py')
-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 36670f69a..5acd3be80 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -3874,6 +3874,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): |