[Zope3-checkins] CVS: Zope3/src/zope/app/browser/form - editview.py:1.45

Philipp von Weitershausen philikon at philikon.de
Mon Jan 5 03:03:45 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/browser/form
In directory cvs.zope.org:/tmp/cvs-serv1093/src/zope/app/browser/form

Modified Files:
	editview.py 
Log Message:
Fix some comments.


=== Zope3/src/zope/app/browser/form/editview.py 1.44 => 1.45 ===
--- Zope3/src/zope/app/browser/form/editview.py:1.44	Wed Dec 17 16:27:32 2003
+++ Zope3/src/zope/app/browser/form/editview.py	Mon Jan  5 03:03:44 2004
@@ -91,7 +91,7 @@
             try:
                 changed = applyWidgetsChanges(self, content, self.schema,
                     names=self.fieldNames, exclude_readonly=True)
-                # We should not generate events whan an adapter is used.
+                # We should not generate events when an adapter is used.
                 # That's the adapter's job.
                 if changed and self.context is self.adapted:
                     publish(content, ObjectModifiedEvent(content))
@@ -118,7 +118,6 @@
                     fulledit_path=None, fulledit_label=None, menu=u'',
                     usage=u''):
     s = zapi.getService(None, zapi.servicenames.Presentation)
-    # XXX What about the __implements__ of the bases?
     class_ = SimpleViewClass(template, used_for=schema, bases=bases)
     class_.schema = schema
     class_.label = label




More information about the Zope3-Checkins mailing list