File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
graalpython/lib-graalpython/modules/standalone Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -420,9 +420,9 @@ def get_executable(file):
420
420
421
421
def get_graalvm_url (self ):
422
422
if "." in self .jdk_version :
423
- major_version = jdk_version [:jdk_version .index ("." )]
423
+ major_version = self . jdk_version [:self . jdk_version .index ("." )]
424
424
else :
425
- major_version = jdk_version
425
+ major_version = self . jdk_version
426
426
427
427
system = platform .system ()
428
428
sufix = 'tar.gz'
@@ -444,7 +444,7 @@ def get_graalvm_url(self):
444
444
else :
445
445
raise RuntimeError ("Unknown platform machine" , machine )
446
446
447
- return f"{ GRAALVM_URL_BASE } { major_version } /archive/graalvm-jdk-{ jdk_version } _{ system } -{ machine } _bin.{ sufix } "
447
+ return f"{ GRAALVM_URL_BASE } { major_version } /archive/graalvm-jdk-{ self . jdk_version } _{ system } -{ machine } _bin.{ sufix } "
448
448
449
449
def get_tools (self ):
450
450
if os .getenv ("JAVA_HOME" ):
You can’t perform that action at this time.
0 commit comments