Log message for revision 105060:
  Fix HelpSys to work with zope.interface.Interface as it did before the 
deprecated methods of scarecrow Interface.Interface were removed.

Changed:
  U   Zope/branches/2.12/src/HelpSys/APIHelpTopic.py

-=-
Modified: Zope/branches/2.12/src/HelpSys/APIHelpTopic.py
===================================================================
--- Zope/branches/2.12/src/HelpSys/APIHelpTopic.py      2009-10-14 08:35:10 UTC 
(rev 105059)
+++ Zope/branches/2.12/src/HelpSys/APIHelpTopic.py      2009-10-14 08:54:25 UTC 
(rev 105060)
@@ -48,8 +48,8 @@
                 if type(v)==types.ClassType:
                     # A class.
                     self.apis.append(APIDoc(v, 0))
-                elif (hasattr(v, 'isImplementedByInstancesOf')):
-                    # A scarecrow interface.
+                elif (hasattr(v, 'implementedBy')):
+                    # A zope.interface.Interface.
                     self.apis.append(APIDoc(v, 1))
                 elif type(v)==types.FunctionType:
                     # A function

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
https://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to