diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2003-07-08 10:21:31 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2003-07-08 10:21:31 +0000 |
commit | 0232312dde5d26ffa3f5ac8c89dc1b2ebef16e6b (patch) | |
tree | cb579396ba26e77b6c36fe4c60a3a0303c06bbaf /python | |
parent | 6fcb263d48a0ca9e60d2cf860f6c04a989ff7eb6 (diff) | |
download | libxslt-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.h | 2 |
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); |