summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorWilliam M. Brack <wbrack@src.gnome.org>2007-02-18 16:58:11 +0000
committerWilliam M. Brack <wbrack@src.gnome.org>2007-02-18 16:58:11 +0000
commitf13db5792e28b6252cd02c1e28b40b8d9eace3c4 (patch)
treefc6462e47e0eaf5c9bbf63ed99d02e6498b09f6b /python
parenta3640f623edf80a691a028f3c4c81181f1f52654 (diff)
downloadlibxslt-f13db5792e28b6252cd02c1e28b40b8d9eace3c4.tar.gz
libxslt-f13db5792e28b6252cd02c1e28b40b8d9eace3c4.tar.bz2
libxslt-f13db5792e28b6252cd02c1e28b40b8d9eace3c4.zip
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
Diffstat (limited to 'python')
-rw-r--r--python/libxsl.py24
1 files changed, 12 insertions, 12 deletions
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"""