diff options
author | William M. Brack <wbrack@src.gnome.org> | 2007-02-18 16:58:11 +0000 |
---|---|---|
committer | William M. Brack <wbrack@src.gnome.org> | 2007-02-18 16:58:11 +0000 |
commit | f13db5792e28b6252cd02c1e28b40b8d9eace3c4 (patch) | |
tree | fc6462e47e0eaf5c9bbf63ed99d02e6498b09f6b | |
parent | a3640f623edf80a691a028f3c4c81181f1f52654 (diff) | |
download | libxslt-f13db5792e28b6252cd02c1e28b40b8d9eace3c4.tar.gz |
fixed tab/space inconsistency with patch provided by Andreas Hanke (bug
* python/libxsl.py: fixed tab/space inconsistency with patch provided by Andreas Hanke (bug #409193)
svn path=/trunk/; revision=1422
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | NEWS | 6 | ||||
-rw-r--r-- | python/libxsl.py | 24 |
3 files changed, 20 insertions, 15 deletions
@@ -1,3 +1,8 @@ +Sun Feb 18 09:00:08 PST 2007 William Brack <wbrack@mmm.com.hk + + * python/libxsl.py: fixed tab/space inconsistency with patch + provided by Andreas Hanke (bug #409193) + Thu Feb 15 14:03:18 PST 2007 William Brack <wbrack@mmm.com.hk> * doc/xslt.html: Changed all @@ -7,8 +7,8 @@ The change log at ChangeLog.html describes the recents commits -to the CVS at -http://cvs.gnome.org/viewcvs/libxslt/ +to the SVN at +http://svn.gnome.org/viewcvs/libxslt/trunk/ code base.Those are the public releases made: 1.1.20: Jan 17 2007: - Portability fixes: strict aliasing fix (Marcus Meissner), BSD portability @@ -518,7 +518,7 @@ This is a bugfix only release - error message missing argument (William Brack) - patches for Windows and update of Windows Makefiles by Igor - OpenVMS port instructions from John A Fotheringham - fixed some Makefiles annoyance and libraries prelinking - informations + information 1.0.7: Nov 10 2001: diff --git a/python/libxsl.py b/python/libxsl.py index 503aa4ff..e8e86e42 100644 --- a/python/libxsl.py +++ b/python/libxsl.py @@ -20,9 +20,9 @@ else: if osname == 'Linux' or osname == 'SunOS': RTLD_GLOBAL = 0x00100 RTLD_NOW = 0x00002 - elif osname == 'Darwin': - RTLD_GLOBAL = 0x8 - RTLD_NOW = 0x2 + elif osname == 'Darwin': + RTLD_GLOBAL = 0x8 + RTLD_NOW = 0x2 # # is there a better method ? # @@ -30,12 +30,12 @@ else: # print "libxslt could not guess RTLD_GLOBAL and RTLD_NOW " + \ # "on this platform: %s" % (osname) except: - pass + pass # print "libxslt could not guess RTLD_GLOBAL and RTLD_NOW " + \ # "on this platform: %s" % (osname) except: - RTLD_GLOBAL = -1 - RTLD_NOW = -1 + RTLD_GLOBAL = -1 + RTLD_NOW = -1 if RTLD_GLOBAL != -1 and RTLD_NOW != -1: try: @@ -102,21 +102,21 @@ class extensionModule: def styleInit(self, style, URI): """Callback function when used in a newly compiled stylesheet, - the return value is passed in subsequent calls""" - pass + the return value is passed in subsequent calls""" + pass def styleShutdown(self, style, URI, data): """Callback function when a stylesheet using it is destroyed""" - pass + pass def ctxtInit(self, ctxt, URI): """Callback function when used in a new transformation process, - the return value is passed in subsequent calls""" - pass + the return value is passed in subsequent calls""" + pass def ctxtShutdown(self, ctxt, URI, data): """Callback function when a transformation using it finishes""" - pass + pass def cleanup(): """Cleanup all libxslt and libxml2 memory allocated""" |