From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 53385138010 for ; Wed, 3 Oct 2012 17:40:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8619FE01BE; Wed, 3 Oct 2012 17:40:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 54CCDE01BE for ; Wed, 3 Oct 2012 17:40:24 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B3AB633C1EF for ; Wed, 3 Oct 2012 17:40:23 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 599B5E5436 for ; Wed, 3 Oct 2012 17:40:22 +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: <1349285925.359cf128a70f7153cb800d7a22c519ec7838f02b.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/util/_async/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/util/_async/AsyncScheduler.py X-VCS-Directories: pym/portage/util/_async/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 359cf128a70f7153cb800d7a22c519ec7838f02b X-VCS-Branch: master Date: Wed, 3 Oct 2012 17:40:22 +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-Archives-Salt: ea82ae04-a9e9-4f56-9916-ffbf12242964 X-Archives-Hash: 13d2155263bcd57d1398182fba93e948 commit: 359cf128a70f7153cb800d7a22c519ec7838f02b Author: Zac Medico gentoo org> AuthorDate: Wed Oct 3 17:38:45 2012 +0000 Commit: Zac Medico gentoo org> CommitDate: Wed Oct 3 17:38:45 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=359cf128 AsyncScheduler: use _termination_check The _terminate_tasks method is always supposed to be called via _termination_check. --- pym/portage/util/_async/AsyncScheduler.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/pym/portage/util/_async/AsyncScheduler.py b/pym/portage/util/_async/AsyncScheduler.py index 130331e..a452c0c 100644 --- a/pym/portage/util/_async/AsyncScheduler.py +++ b/pym/portage/util/_async/AsyncScheduler.py @@ -27,7 +27,7 @@ class AsyncScheduler(AsynchronousTask, PollScheduler): def _cancel(self): self._terminated.set() - self._terminate_tasks() + self._termination_check() def _terminate_tasks(self): for task in list(self._running_tasks):