Skip to content

Commit 5f6af7e

Browse files
committed
Use Python 3 for launcher
Signed-off-by: Stefan Marr <[email protected]>
1 parent 70a00d7 commit 5f6af7e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

som

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python2.7
1+
#!/usr/bin/env python3
22
import argparse
33
import sys
44
import os
@@ -208,8 +208,8 @@ if args.use_embedded_graal:
208208
})
209209
java_bin = libgraal_jdk_home.strip() + '/bin/java'
210210
except CalledProcessError as e:
211-
print "Failed to determine location of libgraal"
212-
print e.output
211+
print("Failed to determine location of libgraal")
212+
print(e.output)
213213
sys.exit(1)
214214
else:
215215
if JVMCI_BIN:
@@ -454,7 +454,7 @@ flags += ['-Dorg.slf4j.simpleLogger.defaultLogLevel=off']
454454
all_args = JAVA_ARGS + ['-classpath', classpath, '-Dtruffle.class.path.append=' + classpath] + flags + SOM_ARGS + args.args
455455

456456
if args.verbose:
457-
print "CMD: " + java_bin + ' ' + ' '.join(all_args)
457+
print("CMD: " + java_bin + ' ' + ' '.join(all_args))
458458

459459
env = dict(os.environ)
460460
env['JVMCI_VERSION_CHECK'] = 'ignore'

0 commit comments

Comments
 (0)