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 + + * python/tests/pyxsltproc.py: applied a portability patch from + Stephane Bidoul + Thu Jan 24 16:24:05 CET 2008 Daniel Veillard * 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: