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 /python | |
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
Diffstat (limited to 'python')
-rwxr-xr-x | python/tests/pyxsltproc.py | 4 |
1 files changed, 2 insertions, 2 deletions
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: |