def convert(self, value):
        value = _force_dict(value)
        errors = {}
        result = {}
        for name, field in self.fields.iteritems():
            try:
                result[name] = field(value.get(name))
            except __HOLE__, e:
                errors[name] = e
        if errors:
            raise MultipleValidationErrors(errors)
        return result
dataset/ETHPy150Open mitsuhiko/fungiform/fungiform/forms.py/Mapping.convert