summaryrefslogtreecommitdiffstats
path: root/Lib/plat-os2emx/_emx_link.py
diff options
context:
space:
mode:
authorCollin Winter <collinw@gmail.com>2007-08-23 00:01:55 (GMT)
committerCollin Winter <collinw@gmail.com>2007-08-23 00:01:55 (GMT)
commite45be28be665a04aef0d0a7444ba27fde2dd2d5f (patch)
tree12b6261b32a5913ed104704734e7b7a15cd74e69 /Lib/plat-os2emx/_emx_link.py
parentcfe02a498b107a6436003e2bf7a48aefe4e3d59f (diff)
downloadcpython-e45be28be665a04aef0d0a7444ba27fde2dd2d5f.zip
cpython-e45be28be665a04aef0d0a7444ba27fde2dd2d5f.tar.gz
cpython-e45be28be665a04aef0d0a7444ba27fde2dd2d5f.tar.bz2
Convert raise statements in Lib/plat-{mac,os2emx}.
Diffstat (limited to 'Lib/plat-os2emx/_emx_link.py')
-rw-r--r--Lib/plat-os2emx/_emx_link.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/plat-os2emx/_emx_link.py b/Lib/plat-os2emx/_emx_link.py
index e829868..01e6b54 100644
--- a/Lib/plat-os2emx/_emx_link.py
+++ b/Lib/plat-os2emx/_emx_link.py
@@ -47,7 +47,7 @@ def link(source, target):
s = os.open(source, os.O_RDONLY | os.O_BINARY)
if os.isatty(s):
- raise OSError, (errno.EXDEV, 'Cross-device link')
+ raise OSError(errno.EXDEV, 'Cross-device link')
data = os.read(s, 1024)
try: