[Zope-dev] 2.3.0 ZCatalog Copy & Paste Bug Fixed :-)

Chris Withers chrisw@nipltd.com
Sun, 28 Jan 2001 20:40:39 -0000


> ...but the error message looks better ;^)=

Oh boy, Chris P's gonna kick himself for this one ;-)

The idea was to change the meta_type of ZCatalog to Z Catalog so it was like
everything else in core Zope, but he left a 'bad' line in ZCatalog.py. The
patch below fixes the problem.

*grinz*

Chris

--- zcatalog.py.old Fri Jan 26 14:03:24 2001
+++ zcatalog.py Sun Jan 28 20:31:50 2001
@@ -141,7 +141,6 @@

     """

-    meta_type = "ZCatalog"
     icon='misc_/ZCatalog/ZCatalog.gif'

     manage_options = (