From 526f4d8cf32993566536fb031a1f767e933cf327 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20W=C3=B6gerer?= Date: Wed, 6 Sep 2023 11:17:11 +0200 Subject: [PATCH] Remove pre-python 3 support code (cherry picked from commit 4711d66a430463f21bcdab6b101f76820fca544c) --- substratevm/mx.substratevm/mx_substratevm.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/substratevm/mx.substratevm/mx_substratevm.py b/substratevm/mx.substratevm/mx_substratevm.py index cfa93a181f00..2cdebd648276 100644 --- a/substratevm/mx.substratevm/mx_substratevm.py +++ b/substratevm/mx.substratevm/mx_substratevm.py @@ -26,8 +26,6 @@ # # ---------------------------------------------------------------------------------------------------- -from __future__ import print_function - import os import re import tempfile @@ -38,6 +36,7 @@ from argparse import ArgumentParser import fnmatch import collections +from io import StringIO import mx import mx_compiler @@ -56,10 +55,6 @@ import sys -if sys.version_info[0] < 3: - from StringIO import StringIO -else: - from io import StringIO suite = mx.suite('substratevm') svmSuites = [suite]