summaryrefslogtreecommitdiff
path: root/waflib/extras/compat15.py
diff options
context:
space:
mode:
Diffstat (limited to 'waflib/extras/compat15.py')
-rw-r--r--waflib/extras/compat15.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/waflib/extras/compat15.py b/waflib/extras/compat15.py
index 9e9a0c6..fb4e578 100644
--- a/waflib/extras/compat15.py
+++ b/waflib/extras/compat15.py
@@ -48,7 +48,7 @@ def cmd_output(cmd,**kw):
try:
p=Utils.subprocess.Popen(cmd,**kw)
output=p.communicate()[0]
- except OSError ,e:
+ except OSError as e:
raise ValueError(str(e))
if p.returncode:
if not silent: