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 1212213877A for ; Tue, 19 Aug 2014 12:18:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3ECA5E09A7; Tue, 19 Aug 2014 12:17:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 484FBE09D5 for ; Tue, 19 Aug 2014 12:17:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 32B72340393 for ; Tue, 19 Aug 2014 12:17:34 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F1F493BB1 for ; Tue, 19 Aug 2014 07:01:04 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1407117254.2830df3b297f7caa84306316112d5485ad45b5b7.mgorny@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/_emerge/ X-VCS-Repository: proj/portage X-VCS-Files: pym/_emerge/depgraph.py X-VCS-Directories: pym/_emerge/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 2830df3b297f7caa84306316112d5485ad45b5b7 X-VCS-Branch: master Date: Tue, 19 Aug 2014 07:01:04 +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: 1e56ee55-02fc-47ae-8fa7-28ca674b2285 X-Archives-Hash: 95931c6b45a45efe2f194c34a8f34676 commit: 2830df3b297f7caa84306316112d5485ad45b5b7 Author: Brian Dolbec gentoo org> AuthorDate: Mon Aug 4 01:49:18 2014 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Aug 4 01:54:14 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=2830df3b pym/_emerge/depgrapgh.py: Fix bug 518968 Fixes commit: 1a00ddf5fb089724a127c8dc72d63f10ae72abbf Author: Alexander Berntsen gentoo.org> (Thu 08 May 2014 08:47:58 AM PDT) Subject: emerge: Implement "--alert" self.query was not assigned using the correct UserQuery instance. self.uq was not used by anything anywhere. This patch consolidates it to the one initialized instance in 1 line of code. Original bug reproduced and fixed by: Mike Gilbert gentoo.org> --- pym/_emerge/depgraph.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index 8177b74..acb1db1 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -520,8 +520,7 @@ class depgraph(object): self._event_loop = (portage._internal_caller and global_event_loop() or EventLoop(main=False)) - self.uq = UserQuery(myopts) - self.query = UserQuery.query + self.query = UserQuery(myopts).query def _load_vdb(self): """