diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-01-10 22:37:11 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-01-10 22:37:11 (GMT) |
commit | 17bf0825bddf7ffb780ac4d96f98b1b2ea1d76c5 (patch) | |
tree | 48c9a1d327431c93b08ccf2dab898f4a874f86e2 /Lib | |
parent | d746768d3a085a214bd35123df500e791afcf610 (diff) | |
download | cpython-17bf0825bddf7ffb780ac4d96f98b1b2ea1d76c5.zip cpython-17bf0825bddf7ffb780ac4d96f98b1b2ea1d76c5.tar.gz cpython-17bf0825bddf7ffb780ac4d96f98b1b2ea1d76c5.tar.bz2 |
fix syntax in ctypes.util
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/ctypes/util.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/ctypes/util.py b/Lib/ctypes/util.py index 78f4ce3..37e4b03 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() |