Commit 15733eb1 authored by Andreas Jung's avatar Andreas Jung

- Collector #1735: fixed UnicodeDecodeError in Loader.py

parent 55241773
...@@ -36,6 +36,7 @@ Zope Changes ...@@ -36,6 +36,7 @@ Zope Changes
- Collector #1745: Fixed ZSQL error KeyError 'query' - Collector #1745: Fixed ZSQL error KeyError 'query'
- Collector #1735: fixed UnicodeDecodeError in Loader.py
Zope 2.8b1 (2005/04/24) Zope 2.8b1 (2005/04/24)
......
...@@ -176,7 +176,7 @@ class SchemaLoader(BaseLoader): ...@@ -176,7 +176,7 @@ class SchemaLoader(BaseLoader):
__import__(package) __import__(package)
except ImportError, e: except ImportError, e:
raise ZConfig.SchemaResourceError( raise ZConfig.SchemaResourceError(
"could not load package %s: %s" % (package, str(e)), "could not load package %s: %s" % (package, repr(e)),
filename=file, filename=file,
package=package) package=package)
pkg = sys.modules[package] pkg = sys.modules[package]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment