Convert raise statements in Lib/plat-{mac,os2emx}.
diff --git a/Lib/plat-os2emx/grp.py b/Lib/plat-os2emx/grp.py
index fceb4c9..2ac3ca6 100644
--- a/Lib/plat-os2emx/grp.py
+++ b/Lib/plat-os2emx/grp.py
@@ -94,7 +94,7 @@
     if fs:
         return fs
     else:
-        raise KeyError, '>> group database fields not delimited <<'
+        raise KeyError('>> group database fields not delimited <<')
 
 # class to match the new record field name accessors.
 # the resulting object is intended to behave like a read-only tuple,
@@ -136,7 +136,7 @@
     if group_file:
         group = open(group_file, 'r')
     else:
-        raise KeyError, '>> no group database <<'
+        raise KeyError('>> no group database <<')
     gidx = {}
     namx = {}
     sep = None