Log message for revision 30248:
  
        - Collector #1735: fixed UnicodeDecodeError in Loader.py
  

Changed:
  U   Zope/trunk/doc/CHANGES.txt
  U   Zope/trunk/lib/python/ZConfig/loader.py

-=-
Modified: Zope/trunk/doc/CHANGES.txt
===================================================================
--- Zope/trunk/doc/CHANGES.txt  2005-05-05 10:35:03 UTC (rev 30247)
+++ Zope/trunk/doc/CHANGES.txt  2005-05-05 10:46:49 UTC (rev 30248)
@@ -36,6 +36,7 @@
 
       - Collector #1745: Fixed ZSQL error KeyError 'query'
 
+      - Collector #1735: fixed UnicodeDecodeError in Loader.py
 
   Zope 2.8b1 (2005/04/24)
 

Modified: Zope/trunk/lib/python/ZConfig/loader.py
===================================================================
--- Zope/trunk/lib/python/ZConfig/loader.py     2005-05-05 10:35:03 UTC (rev 
30247)
+++ Zope/trunk/lib/python/ZConfig/loader.py     2005-05-05 10:46:49 UTC (rev 
30248)
@@ -176,7 +176,7 @@
             __import__(package)
         except ImportError, e:
             raise ZConfig.SchemaResourceError(
-                "could not load package %s: %s" % (package, str(e)),
+                "could not load package %s: %s" % (package, repr(e)),
                 filename=file,
                 package=package)
         pkg = sys.modules[package]

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to