[Zodb-checkins] CVS: Packages/ZConfig - matcher.py:1.4

Fred L. Drake, Jr. fred@zope.com
Mon, 6 Jan 2003 15:29:38 -0500


Update of /cvs-repository/Packages/ZConfig
In directory cvs.zope.org:/tmp/cvs-serv18557

Modified Files:
	matcher.py 
Log Message:
Make sense of an error message.


=== Packages/ZConfig/matcher.py 1.3 => 1.4 ===
--- Packages/ZConfig/matcher.py:1.3	Mon Jan  6 14:35:41 2003
+++ Packages/ZConfig/matcher.py	Mon Jan  6 15:29:33 2003
@@ -103,7 +103,8 @@
                     v[key] = [value]
             else:
                 if v.has_key(key):
-                    raise ZConfig.ConfigurationError("too many")
+                    raise ZConfig.ConfigurationError(
+                        "too many values for " + `key`)
                 v[key] = value
         elif ismulti:
             v.append(value)