From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B6429138334 for ; Mon, 25 Nov 2019 06:38:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E1A68E09EC; Mon, 25 Nov 2019 06:38:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C4DB6E09EC for ; Mon, 25 Nov 2019 06:38:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 70A6434D325 for ; Mon, 25 Nov 2019 06:38:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D4F6A8B9 for ; Mon, 25 Nov 2019 06:38:00 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1574663831.8d32e06295226e3914c24cd73de013748f3f9bec.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: lib/_emerge/ X-VCS-Repository: proj/portage X-VCS-Files: lib/_emerge/Scheduler.py X-VCS-Directories: lib/_emerge/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 8d32e06295226e3914c24cd73de013748f3f9bec X-VCS-Branch: master Date: Mon, 25 Nov 2019 06:38:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 161cd0c5-5d90-4f54-ada9-535b1211581f X-Archives-Hash: 407bee78f153cf0c02b248b4118a2f5b commit: 8d32e06295226e3914c24cd73de013748f3f9bec Author: Zac Medico gentoo org> AuthorDate: Mon Nov 25 06:33:18 2019 +0000 Commit: Zac Medico gentoo org> CommitDate: Mon Nov 25 06:37:11 2019 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=8d32e062 Scheduler._run_pkg_pretend: don't use local event loop Relevant hooks should be added/removed in the _merge method. Signed-off-by: Zac Medico gentoo.org> lib/_emerge/Scheduler.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/_emerge/Scheduler.py b/lib/_emerge/Scheduler.py index 49b376281..af43a2e24 100644 --- a/lib/_emerge/Scheduler.py +++ b/lib/_emerge/Scheduler.py @@ -775,11 +775,7 @@ class Scheduler(PollScheduler): """ failures = 0 - - # Use a local EventLoop instance here, since we don't - # want tasks here to trigger the usual Scheduler callbacks - # that handle job scheduling and status display. - sched_iface = SchedulerInterface(EventLoop(main=False)) + sched_iface = self._sched_iface for x in self._mergelist: if not isinstance(x, Package):