diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2008-02-05 07:37:55 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2008-02-05 07:37:55 +0000 |
commit | 98893b611b6fb536d42f1ed897ad5454969653ef (patch) | |
tree | 267a978565b956f537beca335d5e6f28802c16dd | |
parent | 11fb6067893a915c6250ea7c8dd0f5b1e233f697 (diff) | |
download | libxslt-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-- | ChangeLog | 5 | ||||
-rwxr-xr-x | python/tests/pyxsltproc.py | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -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: |