diff options
Diffstat (limited to 'pym/_emerge')
-rw-r--r-- | pym/_emerge/__init__.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 910e518d9..582255d4d 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -9348,7 +9348,10 @@ class Scheduler(PollScheduler): prefetchers = self._prefetchers getbinpkg = "--getbinpkg" in self.myopts - for pkg in self._mergelist: + # In order to avoid "waiting for lock" messages + # at the beginning, which annoy users, never + # spawn a prefetcher for the first package. + for pkg in self._mergelist[1:]: prefetcher = self._create_prefetcher(pkg) if prefetcher is not None: self._task_queues.fetch.add(prefetcher) |