[Checkins] SVN: z3c.form/trunk/src/z3c/form/field.py Fix long lines.

Stephan Richter srichter at cosmos.phy.tufts.edu
Fri Oct 3 21:23:47 EDT 2008


Log message for revision 91721:
  Fix long lines.
  

Changed:
  U   z3c.form/trunk/src/z3c/form/field.py

-=-
Modified: z3c.form/trunk/src/z3c/form/field.py
===================================================================
--- z3c.form/trunk/src/z3c/form/field.py	2008-10-04 01:11:08 UTC (rev 91720)
+++ z3c.form/trunk/src/z3c/form/field.py	2008-10-04 01:23:45 UTC (rev 91721)
@@ -248,8 +248,10 @@
             widget.context = self.content
             # Step 5: Set the form
             widget.form = self.form
-            # Optimization: set both interfaces here, rather in step 4 and 5: alsoProvides is quite slow
-            zope.interface.alsoProvides(widget, interfaces.IContextAware, interfaces.IFormAware)
+            # Optimization: Set both interfaces here, rather in step 4 and 5:
+            # ``alsoProvides`` is quite slow
+            zope.interface.alsoProvides(
+                widget, interfaces.IContextAware, interfaces.IFormAware)
             # Step 6: Set some variables
             widget.ignoreContext = self.ignoreContext
             widget.ignoreRequest = self.ignoreRequest



More information about the Checkins mailing list