[Zope3-checkins] CVS: Products3/z3checkins - message.py:1.31

Gintautas Miliauskas gintas at pov.lt
Sat Mar 6 17:17:21 EST 2004


Update of /cvs-repository/Products3/z3checkins
In directory cvs.zope.org:/tmp/cvs-serv1980

Modified Files:
	message.py 
Log Message:
Renamed isImplementedBy() (deprecated) calls to providedBy().


=== Products3/z3checkins/message.py 1.30 => 1.31 ===
--- Products3/z3checkins/message.py:1.30	Wed Mar  3 08:46:34 2004
+++ Products3/z3checkins/message.py	Sat Mar  6 17:16:50 2004
@@ -142,7 +142,7 @@
 
     def __eq__(self, other):
         """Messages with the same message_id compare identical."""
-        if not IMessage.isImplementedBy(other):
+        if not IMessage.providedBy(other):
             return False
         return self.message_id == other.message_id
 
@@ -287,7 +287,7 @@
         self.context = context
         items = []
         for key, item in self.context.items():
-            if IMessage.isImplementedBy(item):
+            if IMessage.providedBy(item):
                 items.append((item.date, key, item))
         items.sort()
         self.messages = []
@@ -456,7 +456,7 @@
         html = []
         previous_message = None
         for item in self.checkins(start=start, size=size):
-            if ICheckinMessage.isImplementedBy(item):
+            if ICheckinMessage.providedBy(item):
                 same_as_previous = item.log_message == previous_message
                 previous_message = item.log_message
             else:




More information about the Zope3-Checkins mailing list