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 1RAouK-0006TD-OD for garchives@archives.gentoo.org; Mon, 03 Oct 2011 20:14:38 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7000221C09D; Mon, 3 Oct 2011 20:14:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 4482E21C09D for ; Mon, 3 Oct 2011 20:14:22 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D84411B400F for ; Mon, 3 Oct 2011 20:14:21 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 2E36C80042 for ; Mon, 3 Oct 2011 20:14:21 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/repository/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/repository/config.py X-VCS-Directories: pym/portage/repository/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: b8ebdffd672d9ef5dcaa2470e86cf9184b83fc44 Date: Mon, 3 Oct 2011 20:14:21 +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: ee1899ac79a4cb4908780a2e221ce8fd commit: b8ebdffd672d9ef5dcaa2470e86cf9184b83fc44 Author: Zac Medico gentoo org> AuthorDate: Mon Oct 3 20:14:08 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Mon Oct 3 20:14:08 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3Db8ebdffd Suppress warnings with DeprecationWarning. These manifest-hashes warnings are irrelevant to regular users, so suppre= ss them by default. --- pym/portage/repository/config.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pym/portage/repository/config.py b/pym/portage/repository/co= nfig.py index 713494c..979b859 100644 --- a/pym/portage/repository/config.py +++ b/pym/portage/repository/config.py @@ -395,7 +395,7 @@ class RepoConfigLoader(object): "if you want to generate valid manifests for this " "repository: %s" % (repo.name, MANIFEST2_REQUIRED_HASH, - layout_filename))) + layout_filename)), DeprecationWarning) unsupported_hashes =3D manifest_hashes.difference( MANIFEST2_HASH_FUNCTIONS) if unsupported_hashes: @@ -406,7 +406,7 @@ class RepoConfigLoader(object): "portage if you want to generate valid manifests for " "this repository: %s" % (repo.name, " ".join(sorted(unsupported_hashes)), - layout_filename))) + layout_filename)), DeprecationWarning) repo.manifest_hashes =3D manifest_hashes =20 repo.cache_is_authoritative =3D layout_data.get('authoritative-cache'= , 'false').lower() =3D=3D 'true'