[Checkins] SVN: z3c.form/branches/sagblmi-nestedgroup/src/z3c/form/field.py fix indentation

Laurent Mignon Laurent.Mignon at softwareag.com
Thu Feb 26 12:05:29 EST 2009


Log message for revision 97322:
  fix indentation

Changed:
  U   z3c.form/branches/sagblmi-nestedgroup/src/z3c/form/field.py

-=-
Modified: z3c.form/branches/sagblmi-nestedgroup/src/z3c/form/field.py
===================================================================
--- z3c.form/branches/sagblmi-nestedgroup/src/z3c/form/field.py	2009-02-26 17:04:20 UTC (rev 97321)
+++ z3c.form/branches/sagblmi-nestedgroup/src/z3c/form/field.py	2009-02-26 17:05:29 UTC (rev 97322)
@@ -101,7 +101,7 @@
             elif zope.schema.interfaces.IField.providedBy(arg):
                 name = arg.__name__
                 if not name:
-                        raise ValueError("Field has no name")
+                    raise ValueError("Field has no name")
                 fields.append((name, arg, arg.interface))
 
             elif self.managerInterface.providedBy(arg):
@@ -235,7 +235,7 @@
             if field.mode is not None:
                 mode = field.mode
             elif field.field.readonly and not self.ignoreReadonly:
-                    mode = interfaces.DISPLAY_MODE
+                mode = interfaces.DISPLAY_MODE
             elif not ignoreContext:
                 # If we do not have enough permissions to write to the
                 # attribute, then switch to display mode.



More information about the Checkins mailing list