[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/DublinCore - TimeAnnotators.py:1.4

Jim Fulton jim@zope.com
Wed, 11 Dec 2002 08:29:43 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/DublinCore
In directory cvs.zope.org:/tmp/cvs-serv7781/lib/python/Zope/App/DublinCore

Modified Files:
	TimeAnnotators.py 
Log Message:
Changed local variable name to make code easier to read.


=== Zope3/lib/python/Zope/App/DublinCore/TimeAnnotators.py 1.3 => 1.4 ===
--- Zope3/lib/python/Zope/App/DublinCore/TimeAnnotators.py:1.3	Mon Nov 18 17:37:30 2002
+++ Zope3/lib/python/Zope/App/DublinCore/TimeAnnotators.py	Wed Dec 11 08:29:42 2002
@@ -30,8 +30,8 @@
     def __init__(self, property):
         self.property = property
 
-    def notify(self, modified_event):
-        dc = queryAdapter(modified_event.object, IZopeDublinCore)
+    def notify(self, event):
+        dc = queryAdapter(event.object, IZopeDublinCore)
         if dc is not None:
             setattr(dc, self.property, datetime.utcnow())