web/views/autoform.py
changeset 8696 0bb18407c053
parent 8666 1dd655788ece
child 8748 f5027f8d2478
equal deleted inserted replaced
8695:358d8bed9626 8696:0bb18407c053
  1009         except (KeyError, f.FieldNotFound):
  1009         except (KeyError, f.FieldNotFound):
  1010             # catch KeyError raised when etype/rtype not found in schema
  1010             # catch KeyError raised when etype/rtype not found in schema
  1011             AutomaticEntityForm.error('field for %s %s may not be found in schema' % (rtype, role))
  1011             AutomaticEntityForm.error('field for %s %s may not be found in schema' % (rtype, role))
  1012             return None
  1012             return None
  1013 
  1013 
  1014     vreg.register_all(globals().values(), __name__)
  1014     vreg.register_all(globals().itervalues(), __name__)