From bda55a1f3cd10f5463228cb882c5b6b67d8937ae Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Mon, 21 Sep 2009 12:16:07 +0000 Subject: Fix all remaining SyntaxErrors with Python 3. svn path=/main/trunk/; revision=14315 --- pym/portage/checksum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pym/portage/checksum.py') diff --git a/pym/portage/checksum.py b/pym/portage/checksum.py index ee2e51c71..93076d304 100644 --- a/pym/portage/checksum.py +++ b/pym/portage/checksum.py @@ -279,6 +279,6 @@ def perform_multiple_checksums(filename, hashes=["MD5"], calc_prelink=0): rVal = {} for x in hashes: if x not in hashfunc_map: - raise portage.exception.DigestException, x+" hash function not available (needs dev-python/pycrypto or >=dev-lang/python-2.5)" + raise portage.exception.DigestException(x+" hash function not available (needs dev-python/pycrypto or >=dev-lang/python-2.5)") rVal[x] = perform_checksum(filename, x, calc_prelink)[0] return rVal -- cgit v1.2.3-1-g7c22