[Checkins] SVN: grok/trunk/src/grok/components.py - whitespace

Christian Theune ct at gocept.com
Mon Dec 11 11:34:11 EST 2006


Log message for revision 71519:
   - whitespace
  

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

-=-
Modified: grok/trunk/src/grok/components.py
===================================================================
--- grok/trunk/src/grok/components.py	2006-12-11 10:09:49 UTC (rev 71518)
+++ grok/trunk/src/grok/components.py	2006-12-11 16:34:10 UTC (rev 71519)
@@ -61,6 +61,7 @@
 class Site(SiteManagerContainer):
     pass
 
+
 class Adapter(object):
 
     def __init__(self, context):
@@ -200,6 +201,7 @@
         resource.__name__ = self.__name
         return resource
 
+
 class Traverser(object):
     interface.implements(IBrowserPublisher)
 
@@ -245,6 +247,7 @@
         if traverse:
             return traverse(name)
 
+
 class ContainerTraverser(Traverser):
     component.adapts(Container, IBrowserRequest)
 
@@ -257,6 +260,7 @@
         # try to get the item from the container
         return self.context.get(name)
 
+
 class Form(View):
     def __init__(self, context, request):
         super(Form, self).__init__(context, request)
@@ -268,7 +272,6 @@
     def __call__(self):
         form = self.form
 
-        # update form
         form.update()
 
         # this code is extracted and modified from form.render
@@ -285,6 +288,7 @@
 
         return form.form_result
 
+
 class EditForm(Form):
     label = ''
     status = ''
@@ -297,10 +301,12 @@
         else:
             self.status = "No changes"
 
+
 class AddForm(Form):
     label = ''
     status = ''
 
+
 class DisplayForm(Form):
     label = ''
     status = ''



More information about the Checkins mailing list