[Zodb-checkins] CVS: Packages/ZConfig - loader.py:1.18.44.5

Andreas Jung andreas at andreas-jung.com
Thu May 5 06:45:38 EDT 2005


Update of /cvs-repository/Packages/ZConfig
In directory cvs.zope.org:/tmp/cvs-serv32752/lib/python/ZConfig

Modified Files:
      Tag: Zope-2_7-branch
	loader.py 
Log Message:
      - Collector #1735: fixed UnicodeDecodeError in Loader.py


=== Packages/ZConfig/loader.py 1.18.44.4 => 1.18.44.5 ===
--- Packages/ZConfig/loader.py:1.18.44.4	Tue Oct  7 15:36:21 2003
+++ Packages/ZConfig/loader.py	Thu May  5 06:45:38 2005
@@ -154,7 +154,7 @@
             __import__(package)
         except ImportError, e:
             raise ZConfig.SchemaError("could not load package %s: %s"
-                                      % (package, str(e)))
+                                      % (package, repr(e)))
         pkg = sys.modules[package]
         if not hasattr(pkg, "__path__"):
             raise ZConfig.SchemaError(



More information about the Zodb-checkins mailing list