libxslt r1454 - in trunk: . python/tests



Author: veillard
Date: Tue Feb  5 07:37:55 2008
New Revision: 1454
URL: http://svn.gnome.org/viewvc/libxslt?rev=1454&view=rev

Log:
* python/tests/pyxsltproc.py: applied a portability patch from 
  Stephane Bidoul
Daniel


Modified:
   trunk/ChangeLog
   trunk/python/tests/pyxsltproc.py

Modified: trunk/python/tests/pyxsltproc.py
==============================================================================
--- trunk/python/tests/pyxsltproc.py	(original)
+++ trunk/python/tests/pyxsltproc.py	Tue Feb  5 07:37:55 2008
@@ -6,7 +6,7 @@
 #
 import sys
 import time
-import posix
+import os
 import string
 import libxml2
 # Memory debug specific
@@ -185,7 +185,7 @@
             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:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]