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 1RAFau-0004Jq-UN for garchives@archives.gentoo.org; Sun, 02 Oct 2011 06:32:13 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7D07521C028; Sun, 2 Oct 2011 06:32:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 49A5321C028 for ; Sun, 2 Oct 2011 06:32:05 +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 6C7C91B4005 for ; Sun, 2 Oct 2011 06:32:04 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 88F1880042 for ; Sun, 2 Oct 2011 06:32:03 +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/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/checksum.py X-VCS-Directories: pym/portage/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: a1ed3230d6a121fb2bccc0a1d51255cae382ed4f Date: Sun, 2 Oct 2011 06:32:03 +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: 44f54176cac4bcc02da3ea2c20eea018 commit: a1ed3230d6a121fb2bccc0a1d51255cae382ed4f Author: Zac Medico gentoo org> AuthorDate: Sun Oct 2 06:31:52 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Sun Oct 2 06:31:52 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3Da1ed3230 checksum.py: use fchksum.fmd5t directly --- pym/portage/checksum.py | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/pym/portage/checksum.py b/pym/portage/checksum.py index 080a6df..9f3d81c 100644 --- a/pym/portage/checksum.py +++ b/pym/portage/checksum.py @@ -133,10 +133,7 @@ if "WHIRLPOOL" not in hashfunc_map: =20 # Use python-fchksum if available, prefer it over all other MD5 implemen= tations try: - import fchksum -=09 - def md5hash(filename): - return fchksum.fmd5t(filename) + from fchksum import fmd5t as md5hash hashfunc_map["MD5"] =3D md5hash hashorigin_map["MD5"] =3D "python-fchksum" =20