From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QOAdT-0006Xh-FH for garchives@archives.gentoo.org; Sun, 22 May 2011 15:32:07 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 10726E054D; Sun, 22 May 2011 15:31:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id D4D12E054D for ; Sun, 22 May 2011 15:31:59 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4E59D1B401E for ; Sun, 22 May 2011 15:31:59 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id A235A80506 for ; Sun, 22 May 2011 15:31:58 +0000 (UTC) From: "Paweł Hajdan" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Paweł Hajdan" Message-ID: <39fcde8e77f44c1df8d966d6c147abfcc6cb747b.phajdan.jr@gentoo> Subject: [gentoo-commits] proj/arch-tools:master commit in: / X-VCS-Repository: proj/arch-tools X-VCS-Files: bugzilla-viewer.py X-VCS-Directories: / X-VCS-Committer: phajdan.jr X-VCS-Committer-Name: Paweł Hajdan X-VCS-Revision: 39fcde8e77f44c1df8d966d6c147abfcc6cb747b Date: Sun, 22 May 2011 15:31:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: d99f59d15e96e2de02bab8de8554659c commit: 39fcde8e77f44c1df8d966d6c147abfcc6cb747b Author: Pawel Hajdan, Jr gentoo org> AuthorDate: Sun May 22 15:31:44 2011 +0000 Commit: Pawe=C5=82 Hajdan gentoo org> CommitDate: Sun May 22 15:31:44 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/arch-tools.gi= t;a=3Dcommit;h=3D39fcde8e Bugfix: we need to pass status=3DNone to pybugz, otherwise it returns com= pletely different set of bugs. --- bugzilla-viewer.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bugzilla-viewer.py b/bugzilla-viewer.py index e160a96..72ae93e 100755 --- a/bugzilla-viewer.py +++ b/bugzilla-viewer.py @@ -215,7 +215,7 @@ if __name__ =3D=3D "__main__": bugzilla =3D bugz.bugzilla.Bugz('http://bugs.gentoo.org', skip_auth=3DT= rue) =20 print "Searching for arch bugs..." - raw_bugs =3D bugzilla.search("", cc=3D"%s@gentoo.org" % options.arch, k= eywords=3D"STABLEREQ") + raw_bugs =3D bugzilla.search("", cc=3D"%s@gentoo.org" % options.arch, k= eywords=3D"STABLEREQ", status=3DNone) bugs =3D [Bug(xml) for xml in bugzilla.get([bug['bugid'] for bug in raw= _bugs]).findall("bug")] =20 dep_bug_ids =3D [] @@ -235,7 +235,7 @@ if __name__ =3D=3D "__main__": packages_dict[bug.id_number()].append(cpv_candidate) pv =3D portage.versions.cpv_getkey(cpv_candidate) if options.verbose: - related_bugs[bug.id_number()] +=3D bugzilla.search(pv) + related_bugs[bug.id_number()] +=3D bugzilla.search(pv, status=3DNon= e) =20 if options.repo: cvs_path =3D os.path.join(options.repo, pv)