File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/modules Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -194,10 +194,10 @@ public void postInitialize(PythonCore core) {
194
194
195
195
if (!ImageInfo .inImageBuildtimeCode ()) {
196
196
sys .setAttribute ("executable" , PythonOptions .getOption (context , PythonOptions .Executable ));
197
+ sys .setAttribute ("graal_python_home" , context .getLanguage ().getHome ());
197
198
}
198
199
sys .setAttribute ("graal_python_jython_emulation_enabled" , PythonOptions .getOption (context , PythonOptions .EmulateJython ));
199
200
sys .setAttribute ("graal_python_host_import_enabled" , context .getEnv ().isHostLookupAllowed ());
200
- sys .setAttribute ("graal_python_home" , context .getLanguage ().getHome ());
201
201
sys .setAttribute ("graal_python_core_home" , coreHome );
202
202
sys .setAttribute ("graal_python_stdlib_home" , stdlibHome );
203
203
sys .setAttribute ("graal_python_capi_home" , capiHome );
You can’t perform that action at this time.
0 commit comments