--- a/web/views/autoform.py Wed Jun 10 18:45:06 2009 +0200
+++ b/web/views/autoform.py Wed Jun 10 18:45:09 2009 +0200
@@ -137,8 +137,10 @@
rschema = cls_or_self.schema.rschema(name)
# XXX use a sample target type. Document this.
tschemas = rschema.targets(eschema, role)
- fieldcls = cls_or_self.rfields.etype_get(eschema, rschema, role, tschemas[0])
- kwargs = cls_or_self.rfields_kwargs.etype_get(eschema, rschema, role, tschemas[0])
+ fieldcls = cls_or_self.rfields.etype_get(eschema, rschema, role,
+ tschemas[0])
+ kwargs = cls_or_self.rfields_kwargs.etype_get(eschema, rschema,
+ role, tschemas[0])
if kwargs is None:
kwargs = {}
if fieldcls: