[Zope3-checkins] CVS: Zope3/src/zope/app/utility - fixup.py:1.2

Stephan Richter srichter at cosmos.phy.tufts.edu
Thu Apr 15 18:11:14 EDT 2004


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

Modified Files:
	fixup.py 
Log Message:


Fixed fixup. We only want to look into ISite objects.




=== Zope3/src/zope/app/utility/fixup.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/utility/fixup.py:1.1	Thu Apr 15 11:29:31 2004
+++ Zope3/src/zope/app/utility/fixup.py	Thu Apr 15 18:11:14 2004
@@ -17,7 +17,7 @@
 """
 
 from zope.app import zapi
-from zope.app.site.interfaces import IPossibleSite
+from zope.app.site.interfaces import IPossibleSite, ISite
 from zope.app.utility import LocalUtilityService
 from zope.app.annotation.interfaces import IAnnotations
 from persistent.dict import PersistentDict
@@ -57,7 +57,7 @@
 notify = zope.app.event.function.Subscriber(notify)
 
 def fixup(folder):
-    if IPossibleSite.providedBy(folder):
+    if ISite.providedBy(folder):
         sm = folder.getSiteManager()
         if sm is not None:
             for smfolder in sm.values():




More information about the Zope3-Checkins mailing list