1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-07-03 00:42:24 +03:00

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
This commit is contained in:
Daniel Veillard
2008-02-05 07:37:55 +00:00
parent 11fb606789
commit 98893b611b
2 changed files with 7 additions and 2 deletions

View File

@ -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: