summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2008-02-05 07:37:55 +0000
committerDaniel Veillard <veillard@src.gnome.org>2008-02-05 07:37:55 +0000
commit98893b611b6fb536d42f1ed897ad5454969653ef (patch)
tree267a978565b956f537beca335d5e6f28802c16dd
parent11fb6067893a915c6250ea7c8dd0f5b1e233f697 (diff)
downloadlibxslt-98893b611b6fb536d42f1ed897ad5454969653ef.tar.gz
libxslt-98893b611b6fb536d42f1ed897ad5454969653ef.tar.bz2
libxslt-98893b611b6fb536d42f1ed897ad5454969653ef.zip
applied a portability patch from Stephane Bidoul Daniel
* python/tests/pyxsltproc.py: applied a portability patch from Stephane Bidoul Daniel svn path=/trunk/; revision=1454
-rw-r--r--ChangeLog5
-rwxr-xr-xpython/tests/pyxsltproc.py4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index b14e15d1..a1b5fee5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue Feb 5 08:36:53 CET 2008 Daniel Veillard <daniel@veillard.com>
+
+ * python/tests/pyxsltproc.py: applied a portability patch from
+ Stephane Bidoul
+
Thu Jan 24 16:24:05 CET 2008 Daniel Veillard <daniel@veillard.com>
* doc/xslt.html doc/docbook.html: fix links for Cygwin DocBook
diff --git a/python/tests/pyxsltproc.py b/python/tests/pyxsltproc.py
index 81b9d9f5..238fa5b4 100755
--- a/python/tests/pyxsltproc.py
+++ b/python/tests/pyxsltproc.py
@@ -6,7 +6,7 @@
#
import sys
import time
-import posix
+import os
import string
import libxml2
# Memory debug specific
@@ -185,7 +185,7 @@ def main(args = None):
nonet = 1
elif args[i] == "-catalogs" or args[i] == "--catalogs":
try:
- catalogs = posix.environ['SGML_CATALOG_FILES']
+ catalogs = os.environ['SGML_CATALOG_FILES']
except:
catalogs = None
if catalogs != none: