[Zodb-checkins] CVS: Zope/lib/python/ZConfig - info.py:1.16

Shane Hathaway shane at zope.com
Sat Aug 2 14:11:21 EDT 2003


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

Modified Files:
	info.py 
Log Message:
More informative error message

=== Zope/lib/python/ZConfig/info.py 1.15 => 1.16 ===
--- 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:15 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




More information about the Zodb-checkins mailing list