summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2003-07-08 10:21:31 +0000
committerDaniel Veillard <veillard@src.gnome.org>2003-07-08 10:21:31 +0000
commit0232312dde5d26ffa3f5ac8c89dc1b2ebef16e6b (patch)
treecb579396ba26e77b6c36fe4c60a3a0303c06bbaf /python
parent6fcb263d48a0ca9e60d2cf860f6c04a989ff7eb6 (diff)
downloadlibxslt-0232312dde5d26ffa3f5ac8c89dc1b2ebef16e6b.tar.gz
libxslt-0232312dde5d26ffa3f5ac8c89dc1b2ebef16e6b.tar.bz2
libxslt-0232312dde5d26ffa3f5ac8c89dc1b2ebef16e6b.zip
applied patch from #116943 which should fix the xsltSaveResultToFile
* python/libxml_wrap.h: applied patch from #116943 which should fix the xsltSaveResultToFile python binding. Daniel
Diffstat (limited to 'python')
-rw-r--r--python/libxml_wrap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/libxml_wrap.h b/python/libxml_wrap.h
index 77c07368..0f2ad935 100644
--- a/python/libxml_wrap.h
+++ b/python/libxml_wrap.h
@@ -56,7 +56,7 @@ typedef struct {
} Pycatalog_Object;
#define PyFile_Get(v) (((v) == Py_None) ? NULL : \
- (PyFile_Check(v) ? NULL : (PyFile_AsFile(v))))
+ (PyFile_Check(v) ? (PyFile_AsFile(v)) : stdout))
PyObject * libxml_intWrap(int val);
PyObject * libxml_longWrap(long val);