[Zope3-checkins] CVS: Zope3/src/zope/app/catalog - catalog.py:1.1.2.5

Anthony Baxter anthony@interlink.com.au
Sat, 12 Jul 2003 22:54:53 -0400


Update of /cvs-repository/Zope3/src/zope/app/catalog
In directory cvs.zope.org:/tmp/cvs-serv28679

Modified Files:
      Tag: melb-2003-content-catalog-branch
	catalog.py 
Log Message:
woops. stupid error in updateIndexes code.


=== Zope3/src/zope/app/catalog/catalog.py 1.1.2.4 => 1.1.2.5 ===
--- Zope3/src/zope/app/catalog/catalog.py:1.1.2.4	Sat Jul 12 20:57:51 2003
+++ Zope3/src/zope/app/catalog/catalog.py	Sat Jul 12 22:54:48 2003
@@ -60,9 +60,9 @@
         objectHub = getService(wrapped_self, HubIds) 
 	allobj = objectHub.iterObjectRegistrations()
 	for location, hubid, wrapped_object in allobj:
-	    eventF(objectHub, hubid, location, wrapped_object)
+	    evt = eventF(objectHub, hubid, location, wrapped_object)
 	    for index in wrapped_self.values():
-		index.notify(eventF)
+		index.notify(evt)
     updateIndexes = ContextMethod(updateIndexes)
 
     def subscribeEvents(wrapped_self, update=True):