Raise statement normalization in Lib/.
diff --git a/Lib/platform.py b/Lib/platform.py
index 25daadd..7b4258f 100755
--- a/Lib/platform.py
+++ b/Lib/platform.py
@@ -378,7 +378,7 @@
def __init__(self,cmd,mode='r',bufsize=None):
if mode != 'r':
- raise ValueError,'popen()-emulation only supports read mode'
+ raise ValueError('popen()-emulation only supports read mode')
import tempfile
self.tmpfile = tmpfile = tempfile.mktemp()
os.system(cmd + ' > %s' % tmpfile)
@@ -490,7 +490,7 @@
pipe = popen(cmd)
info = pipe.read()
if pipe.close():
- raise os.error,'command failed'
+ raise os.error('command failed')
# XXX How can I supress shell errors from being written
# to stderr ?
except os.error as why: