summaryrefslogtreecommitdiff
path: root/dev-java/jython/files/jython-2.5.2-respect_PYTHONPATH.patch
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-05-11 12:45:53 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-05-11 12:45:53 +0000
commitfd8c338741e0a4b9350821c192bc87109ebdbfc8 (patch)
tree5eec42bf2ef9890643a50ea64e15c60d8c40dd4c /dev-java/jython/files/jython-2.5.2-respect_PYTHONPATH.patch
parentdae546ae7e1a3f1ea89c9874497c1694a8a945e4 (diff)
downloadsrcux-fd8c338741e0a4b9350821c192bc87109ebdbfc8.tar.gz
srcux-fd8c338741e0a4b9350821c192bc87109ebdbfc8.tar.xz
srcux-fd8c338741e0a4b9350821c192bc87109ebdbfc8.zip
Adding metadata
Diffstat (limited to 'dev-java/jython/files/jython-2.5.2-respect_PYTHONPATH.patch')
-rw-r--r--dev-java/jython/files/jython-2.5.2-respect_PYTHONPATH.patch15
1 files changed, 0 insertions, 15 deletions
diff --git a/dev-java/jython/files/jython-2.5.2-respect_PYTHONPATH.patch b/dev-java/jython/files/jython-2.5.2-respect_PYTHONPATH.patch
deleted file mode 100644
index e695122ba1d6..000000000000
--- a/dev-java/jython/files/jython-2.5.2-respect_PYTHONPATH.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- a/src/org/python/core/PySystemState.java
-+++ b/src/org/python/core/PySystemState.java
-@@ -646,6 +646,12 @@
- if (jythonpath != null) {
- registry.setProperty("python.path", jythonpath);
- }
-+ else {
-+ jythonpath = System.getenv("PYTHONPATH");
-+ if (jythonpath != null) {
-+ registry.setProperty("python.path", jythonpath);
-+ }
-+ }
- } catch (SecurityException e) {
- }
- registry.putAll(postProperties);