diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-09-21 12:16:07 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-09-21 12:16:07 +0000 |
commit | bda55a1f3cd10f5463228cb882c5b6b67d8937ae (patch) | |
tree | 2a31d93d9646048c51848e52969c9a7fee386da1 /pym/portage/checksum.py | |
parent | dbe76c6a138288980772d9b4a42280903df2daa9 (diff) | |
download | portage-bda55a1f3cd10f5463228cb882c5b6b67d8937ae.tar.gz portage-bda55a1f3cd10f5463228cb882c5b6b67d8937ae.tar.bz2 portage-bda55a1f3cd10f5463228cb882c5b6b67d8937ae.zip |
Fix all remaining SyntaxErrors with Python 3.
svn path=/main/trunk/; revision=14315
Diffstat (limited to 'pym/portage/checksum.py')
-rw-r--r-- | pym/portage/checksum.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |