summaryrefslogtreecommitdiffstats
path: root/qemu/tests/qemu-iotests/qed.py
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/tests/qemu-iotests/qed.py')
-rwxr-xr-xqemu/tests/qemu-iotests/qed.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu/tests/qemu-iotests/qed.py b/qemu/tests/qemu-iotests/qed.py
index 52ff84559..748068d7f 100755
--- a/qemu/tests/qemu-iotests/qed.py
+++ b/qemu/tests/qemu-iotests/qed.py
@@ -227,7 +227,7 @@ def main():
qed = QED(open(filename, 'r+b'))
try:
globals()[cmd](qed, *sys.argv[3:])
- except TypeError, e:
+ except TypeError as e:
sys.stderr.write(globals()[cmd].__doc__ + '\n')
sys.exit(1)