[Zope3-checkins] CVS: Packages/ZConfig - matcher.py:1.1.2.32
Fred L. Drake, Jr.
fred@zope.com
Fri, 3 Jan 2003 13:54:03 -0500
Update of /cvs-repository/Packages/ZConfig
In directory cvs.zope.org:/tmp/cvs-serv26494
Modified Files:
Tag: zconfig-schema-devel-branch
matcher.py
Log Message:
Fix up a bogus __repr__().
=== Packages/ZConfig/matcher.py 1.1.2.31 => 1.1.2.32 ===
--- Packages/ZConfig/matcher.py:1.1.2.31 Fri Jan 3 00:50:40 2003
+++ Packages/ZConfig/matcher.py Fri Jan 3 13:54:01 2003
@@ -30,7 +30,8 @@
def __repr__(self):
clsname = self.__class__.__name__
- return "<%s for >" % (clsname, )
+ extra = "type " + `self.type.name`
+ return "<%s for %s>" % (clsname, extra)
def addSection(self, type, name, sectvalue):
if name: