Skip to content

Commit 3b4cc67

Browse files
committed
Fix python 2 incompatibility in mx suite
1 parent 29d4032 commit 3b4cc67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mx.graalpython/mx_graalpython_bisect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
# SOFTWARE.
3939

4040
import argparse
41-
import configparser
4241
import os
4342
import re
4443
import shlex
@@ -178,6 +177,7 @@ def summarize(self):
178177

179178
def _bisect_benchmark(argv, initial_branch, email_to):
180179
if 'BISECT_BENCHMARK_CONFIG' in os.environ:
180+
import configparser
181181
cp = configparser.ConfigParser()
182182
cp.read(os.environ['BISECT_BENCHMARK_CONFIG'])
183183
sec = cp['bisect-benchmark']

0 commit comments

Comments
 (0)