From: Benjamin Peterson Date: Sat, 10 Jan 2009 22:42:12 +0000 (+0000) Subject: Merged revisions 68511 via svnmerge from X-Git-Tag: v3.0.1~143 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fb5b65d5f177f48ceea596a192fef400344eeba;p=thirdparty%2FPython%2Fcpython.git Merged revisions 68511 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r68511 | benjamin.peterson | 2009-01-10 16:37:11 -0600 (Sat, 10 Jan 2009) | 1 line fix syntax in ctypes.util ........ --- diff --git a/Lib/ctypes/util.py b/Lib/ctypes/util.py index 78f4ce314926..37e4b037ec4e 100644 --- a/Lib/ctypes/util.py +++ b/Lib/ctypes/util.py @@ -104,7 +104,7 @@ elif os.name == "posix": if e.errno != errno.ENOENT: raise if rv == 10: - raise OSError, 'gcc or cc command not found' + raise OSError('gcc or cc command not found') res = re.search(expr, trace) if not res: return None @@ -137,7 +137,7 @@ elif os.name == "posix": dump = f.read() rv = f.close() if rv == 10: - raise OSError, 'objdump command not found' + raise OSError('objdump command not found') f = os.popen(cmd) try: data = f.read()