From 98893b611b6fb536d42f1ed897ad5454969653ef Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Tue, 5 Feb 2008 07:37:55 +0000 Subject: [PATCH] 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 --- ChangeLog | 5 +++++ python/tests/pyxsltproc.py | 4 ++-- 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 + + * 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: