Projects
Mega:24.03
jython
_service:tar_scm:jython-cachedir.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:jython-cachedir.patch of Package jython
--- src/org/python/core/PySystemState.java.orig 2014-05-28 11:09:26.758604716 +0100 +++ src/org/python/core/PySystemState.java 2014-05-28 11:16:59.136279132 +0100 @@ -960,8 +960,11 @@ } cachedir = new File(props.getProperty(PYTHON_CACHEDIR, CACHEDIR_DEFAULT_NAME)); if (!cachedir.isAbsolute()) { - String prefixString = prefix == null ? null : Py.fileSystemDecode(prefix); - cachedir = new File(prefixString, cachedir.getPath()); + File jythondir = new File(System.getProperty("user.home"), ".jython-cache"); + if (!jythondir.isDirectory()) { + jythondir.mkdirs(); + } + cachedir = new File(jythondir, cachedir.getPath()); } }
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2