Skip to content

Commit 4711d66

Browse files
committed
Remove pre-python 3 support code
1 parent 51fa66d commit 4711d66

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

substratevm/mx.substratevm/mx_substratevm.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626
#
2727
# ----------------------------------------------------------------------------------------------------
2828

29-
from __future__ import print_function
30-
3129
import os
3230
import re
3331
import tempfile
@@ -38,6 +36,7 @@
3836
from argparse import ArgumentParser
3937
import fnmatch
4038
import collections
39+
from io import StringIO
4140

4241
import mx
4342
import mx_compiler
@@ -56,10 +55,6 @@
5655
import sys
5756

5857

59-
if sys.version_info[0] < 3:
60-
from StringIO import StringIO
61-
else:
62-
from io import StringIO
6358

6459
suite = mx.suite('substratevm')
6560
svmSuites = [suite]

0 commit comments

Comments
 (0)