summaryrefslogtreecommitdiff
path: root/runtest
diff options
context:
space:
mode:
Diffstat (limited to 'runtest')
-rwxr-xr-xruntest5
1 files changed, 2 insertions, 3 deletions
diff --git a/runtest b/runtest
index cfc61d4..6dcd0e0 100755
--- a/runtest
+++ b/runtest
@@ -1,6 +1,5 @@
-#!/usr/bin/python2
+#!/usr/bin/python
-from __future__ import print_function
import subprocess
import argparse
import ctypes
@@ -182,7 +181,7 @@ for w in works.values():
while workers:
try:
pid, status, rusage = os.wait3(0)
- except OSError, e:
+ except OSError as e:
if e.errno == errno.ECHILD:
print('warning: os.wait() missed children!')
break