[Zope-CVS] SVN: messageboard/trunk/step08/browser/ fixed occurence
of isImplementedBy
Eckart Hertzler
eckart at hertzler.de
Wed Jun 2 10:24:51 EDT 2004
Log message for revision 25180:
fixed occurence of isImplementedBy
-=-
Modified: messageboard/trunk/step08/browser/messageboard.py
===================================================================
--- messageboard/trunk/step08/browser/messageboard.py 2004-06-02 13:26:15 UTC (rev 25179)
+++ messageboard/trunk/step08/browser/messageboard.py 2004-06-02 14:24:49 UTC (rev 25180)
@@ -92,7 +92,7 @@
"""Get all pending messages recursively."""
msgs = []
for name, msg in pmsg.items():
- if IMessage.isImplementedBy(msg):
+ if IMessage.providedBy(msg):
if hasMessageStatus(msg, 'pending'):
msgs.append(msg)
msgs += self.getPendingMessages(msg)
Modified: messageboard/trunk/step08/browser/thread.py
===================================================================
--- messageboard/trunk/step08/browser/thread.py 2004-06-02 13:26:15 UTC (rev 25179)
+++ messageboard/trunk/step08/browser/thread.py 2004-06-02 14:24:49 UTC (rev 25180)
@@ -30,7 +30,7 @@
def listContentInfo(self):
children = []
for name, child in self.context.items():
- if IMessage.isImplementedBy(child) and \
+ if IMessage.providedBy(child) and \
hasMessageStatus(child, 'published'):
info = {}
info['title'] = child.title
More information about the Zope-CVS
mailing list