[Zope-Checkins] CVS: Zope/lib/python/Products/ZCatalog - Catalog.py:1.81.16.4

Andreas Jung andreas@andreas-jung.com
Sun, 19 Jan 2003 06:13:56 -0500


Update of /cvs-repository/Zope/lib/python/Products/ZCatalog
In directory cvs.zope.org:/tmp/cvs-serv29811/lib/python/Products/ZCatalog

Modified Files:
      Tag: Zope-2_5-branch
	Catalog.py 
Log Message:
forgotten to remove cDocumentTemplate import

=== Zope/lib/python/Products/ZCatalog/Catalog.py 1.81.16.3 => 1.81.16.4 ===
--- Zope/lib/python/Products/ZCatalog/Catalog.py:1.81.16.3	Sun Jan 19 06:08:37 2003
+++ Zope/lib/python/Products/ZCatalog/Catalog.py	Sun Jan 19 06:13:54 2003
@@ -438,7 +438,7 @@
         # the unique id is allways the first element
         for x in self.names:
             attr=getattr(object, x, MV)
-            if(attr is not MV and cDocumentTemplate.safe_callable(attr)): attr=attr()
+            if(attr is not MV and safe_callable(attr)): attr=attr()
             record.append(attr)
         return tuple(record)