[Zope3-checkins] CVS: Zope/lib/python/ZConfig - info.py:1.15.12.1
Shane Hathaway
shane@zope.com
Sat, 2 Aug 2003 13:12:04 -0400
Update of /cvs-repository/Zope/lib/python/ZConfig
In directory cvs.zope.org:/tmp/cvs-serv3037
Modified Files:
Tag: Zope-2_7-branch
info.py
Log Message:
More informative error message
=== Zope/lib/python/ZConfig/info.py 1.15 => 1.15.12.1 ===
--- Zope/lib/python/ZConfig/info.py:1.15 Mon Jun 2 01:33:45 2003
+++ Zope/lib/python/ZConfig/info.py Sat Aug 2 13:11:58 2003
@@ -355,7 +355,9 @@
pass
else:
return info
- raise ZConfig.ConfigurationError("no matching section defined")
+ raise ZConfig.ConfigurationError(
+ "no matching section defined for type='%s', name='%s'" % (
+ type, name))
def isabstract(self):
return False