Skip to content

Commit 36aaba8

Browse files
committed
[hotfix] Guard against null python language home
PullRequest: graalpython/413
2 parents 9a00643 + 169bc33 commit 36aaba8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/runtime/PythonCore.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public static String getSysBasePrefix(TruffleLanguage.Env env) {
130130
String sysPrefix = env.getOptions().get(PythonOptions.SysBasePrefix);
131131
if (sysPrefix.isEmpty()) {
132132
String homePrefix = PythonLanguage.getCurrent().getHome();
133-
if (homePrefix.isEmpty()) {
133+
if (homePrefix == null || homePrefix.isEmpty()) {
134134
homePrefix = PREFIX;
135135
}
136136
env.getOptions().set(PythonOptions.SysBasePrefix, homePrefix);

mx.graalpython/suite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"name": "graalpython",
1010
"versionConflictResolution": "latest",
1111

12-
"version": "1.0.0-rc13",
12+
"version": "1.0.0-rc14",
1313
"release": False,
1414
"groupId": "org.graalvm.graalpython",
1515
"url": "http://www.graalvm.org/",

0 commit comments

Comments
 (0)