mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-07-29 15:41:13 +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:
@ -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>
|
Thu Jan 24 16:24:05 CET 2008 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
* doc/xslt.html doc/docbook.html: fix links for Cygwin DocBook
|
* doc/xslt.html doc/docbook.html: fix links for Cygwin DocBook
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
#
|
#
|
||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
import posix
|
import os
|
||||||
import string
|
import string
|
||||||
import libxml2
|
import libxml2
|
||||||
# Memory debug specific
|
# Memory debug specific
|
||||||
@ -185,7 +185,7 @@ def main(args = None):
|
|||||||
nonet = 1
|
nonet = 1
|
||||||
elif args[i] == "-catalogs" or args[i] == "--catalogs":
|
elif args[i] == "-catalogs" or args[i] == "--catalogs":
|
||||||
try:
|
try:
|
||||||
catalogs = posix.environ['SGML_CATALOG_FILES']
|
catalogs = os.environ['SGML_CATALOG_FILES']
|
||||||
except:
|
except:
|
||||||
catalogs = None
|
catalogs = None
|
||||||
if catalogs != none:
|
if catalogs != none:
|
||||||
|
Reference in New Issue
Block a user