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 AF0491389F5 for ; Mon, 17 Nov 2014 02:08:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 78940E0BFD; Mon, 17 Nov 2014 02:08:14 +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 1B19DE0BFD for ; Mon, 17 Nov 2014 02:08:13 +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 1576A34049B for ; Mon, 17 Nov 2014 02:08:13 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B3AC0A47E for ; Mon, 17 Nov 2014 02:08:11 +0000 (UTC) From: "Brian Dolbec" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" Message-ID: <1416190033.9c6ffee12fcd52149f19b2f75c36b2396c27ee8c.dol-sen@gentoo> Subject: [gentoo-commits] proj/portage:repoman commit in: pym/repoman/ X-VCS-Repository: proj/portage X-VCS-Files: pym/repoman/main.py X-VCS-Directories: pym/repoman/ X-VCS-Committer: dol-sen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: 9c6ffee12fcd52149f19b2f75c36b2396c27ee8c X-VCS-Branch: repoman Date: Mon, 17 Nov 2014 02:08:11 +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: 5bf7b61e-9202-498c-a534-2dda983bc139 X-Archives-Hash: 490b9687554462c0c599dcb4d110fbd0 commit: 9c6ffee12fcd52149f19b2f75c36b2396c27ee8c Author: Brian Dolbec gentoo org> AuthorDate: Mon Nov 17 02:07:13 2014 +0000 Commit: Brian Dolbec gmail com> CommitDate: Mon Nov 17 02:07:13 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=9c6ffee1 repoman/main.py: Update dependency.perlcore error to us qatracker Update the original code added after the re-write had started. This brings it up to date with teh new stats tracking class instance. --- pym/repoman/main.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pym/repoman/main.py b/pym/repoman/main.py index b3e93bf..1815af9 100755 --- a/pym/repoman/main.py +++ b/pym/repoman/main.py @@ -553,11 +553,12 @@ for xpkg in effective_scanlist: (mytype, suspect_virtual[atom.cp], atom)) if not is_blocker and \ atom.cp.startswith("perl-core/"): - stats['dependency.perlcore'] += 1 - fails['dependency.perlcore'].append( + qatracker.add_error('dependency.perlcore', ebuild.relative_path + ": %s: please use '%s' instead of '%s'" % - (mytype, atom.replace("perl-core/","virtual/perl-"), atom)) + (mytype, + atom.replace("perl-core/","virtual/perl-"), + atom)) if buildtime and \ not is_blocker and \