[Checkins] SVN: grok/trunk/src/grok/components.py before() doesn't make sense on a form.__call__, it'll need to be folded into the actions somehow

Wolfgang Schnerring wosc at wosc.de
Thu Oct 19 08:12:23 EDT 2006


Log message for revision 70806:
  before() doesn't make sense on a form.__call__, it'll need to be folded into the actions somehow

Changed:
  U   grok/trunk/src/grok/components.py

-=-
Modified: grok/trunk/src/grok/components.py
===================================================================
--- grok/trunk/src/grok/components.py	2006-10-19 12:09:13 UTC (rev 70805)
+++ grok/trunk/src/grok/components.py	2006-10-19 12:12:21 UTC (rev 70806)
@@ -200,11 +200,6 @@
         self.template = component.getAdapter(self, INamedTemplate,
                                              name='default')
 
-    def __call__(self):
-        self.before()
-        self.update()
-        return self.render()
-
 def schema_fields(obj):
     fields = []
     fields_class = getattr(obj, 'fields', None)



More information about the Checkins mailing list