[Zope3-checkins] CVS: Packages/SFTPGateway/src/ZConfig -
loader.py:1.28
Fred L. Drake, Jr.
fred at zope.com
Wed Dec 24 17:03:11 EST 2003
Update of /cvs-repository/Packages/SFTPGateway/src/ZConfig
In directory cvs.zope.org:/tmp/cvs-serv19196
Modified Files:
loader.py
Log Message:
when a schema component can't be found, include the name of the file
we looked for as well as the package name
=== Packages/SFTPGateway/src/ZConfig/loader.py 1.27 => 1.28 ===
--- Packages/SFTPGateway/src/ZConfig/loader.py:1.27 Tue Nov 4 21:39:34 2003
+++ Packages/SFTPGateway/src/ZConfig/loader.py Wed Dec 24 17:03:10 2003
@@ -166,7 +166,8 @@
return "file://" + urllib.pathname2url(fn)
else:
raise ZConfig.SchemaError(
- "schema component not found: " + `package`)
+ "schema component not found: %s (file='%s')"
+ % (package, file))
class ConfigLoader(BaseLoader):
More information about the Zope3-Checkins
mailing list