[Zodb-checkins] CVS: StandaloneZConfig/ZConfig - matcher.py:1.16
Fred L. Drake, Jr.
fred at zope.com
Wed Apr 14 23:43:34 EDT 2004
Update of /cvs-repository/StandaloneZConfig/ZConfig
In directory cvs.zope.org:/tmp/cvs-serv23170
Modified Files:
matcher.py
Log Message:
use already-cached value instead of looking it up again
=== StandaloneZConfig/ZConfig/matcher.py 1.15 => 1.16 ===
--- StandaloneZConfig/ZConfig/matcher.py:1.15 Wed Apr 7 16:19:10 2004
+++ StandaloneZConfig/ZConfig/matcher.py Wed Apr 14 23:43:32 2004
@@ -146,7 +146,7 @@
if ci.minOccurs > len(v):
raise ZConfig.ConfigurationError(
"no keys defined for the %s key/value map; at least %d"
- " must be specified" % (ci.attribute, ci.minOccurs))
+ " must be specified" % (attr, ci.minOccurs))
if v is None and ci.minOccurs:
default = ci.getdefault()
if default is None:
More information about the Zodb-checkins
mailing list