equal
deleted
inserted
replaced
37 editableattrs = form.editable_attributes(strict=True) |
37 editableattrs = form.editable_attributes(strict=True) |
38 except TypeError: |
38 except TypeError: |
39 warn('[3.6] %s: editable_attributes now take strict=False as ' |
39 warn('[3.6] %s: editable_attributes now take strict=False as ' |
40 'optional argument', DeprecationWarning) |
40 'optional argument', DeprecationWarning) |
41 editableattrs = form.editable_attributes() |
41 editableattrs = form.editable_attributes() |
42 for rschema, targetschemas, role in editableattrs: |
42 for rschema, role in editableattrs: |
43 if not rschema.final: |
43 if not rschema.final: |
44 return 1 |
44 return 1 |
45 return 0 |
45 return 0 |
46 |
46 |
47 @objectify_selector |
47 @objectify_selector |