SOURCES: python-elspy-mailpath.patch (NEW) - add /etc/mail to pyth...

arekm arekm at pld-linux.org
Thu Sep 1 18:18:14 CEST 2005


Author: arekm                        Date: Thu Sep  1 16:18:14 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- add /etc/mail to python search path

---- Files affected:
SOURCES:
   python-elspy-mailpath.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/python-elspy-mailpath.patch
diff -u /dev/null SOURCES/python-elspy-mailpath.patch:1.1
--- /dev/null	Thu Sep  1 18:18:14 2005
+++ SOURCES/python-elspy-mailpath.patch	Thu Sep  1 18:18:09 2005
@@ -0,0 +1,12 @@
+diff -urN elspy-0.1.1.org/elspy.c elspy-0.1.1/elspy.c
+--- elspy-0.1.1.org/elspy.c	2005-09-01 18:14:46.800078888 +0200
++++ elspy-0.1.1/elspy.c	2005-09-01 18:14:12.000000000 +0200
+@@ -578,6 +578,8 @@
+    PyObject * lscan_return;
+    int        result;
+ 
++   putenv("PYTHONPATH=/etc/mail");
++	   
+    if (! py_initialized) {
+       log_debug(2, "initializing Python interpreter and _elspy module");
+       Py_Initialize();
================================================================



More information about the pld-cvs-commit mailing list