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:
@ -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:
|
||||
|
Reference in New Issue
Block a user