summaryrefslogtreecommitdiff
path: root/runtest
diff options
context:
space:
mode:
authorJohannes Weiner <hannes@cmpxchg.org>2020-05-05 18:51:46 -0400
committerJohannes Weiner <hannes@cmpxchg.org>2020-05-05 18:51:46 -0400
commit105bae59bbc29bb29c1833a2ab95f95ff7428f7c (patch)
tree15d75a07c3477716761e1121f8b208f477d73553 /runtest
parent0c75bd31494f9edc4bcb2c15256dda430b2ff3a6 (diff)
analyze, runtest: python3 fixesHEADmaster
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
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