Commit 443edc62 authored by Nicolas Delaby's avatar Nicolas Delaby

remove LOG

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26937 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5cd17740
# -*- coding: utf-8 -*-
import string, re
import PatternChecker
from DummyField import fields
......@@ -476,7 +477,6 @@ class MultiSelectionValidator(Validator):
def validate(self, field, key, REQUEST):
if REQUEST.get('default_%s' % (key, )) is None:
LOG('MultiSelectionValidator_validate', 0, 'Field %s is not present in request object (marker field default_%s not found).' % (repr(field.id), key))
raise KeyError, 'Field %s is not present in request object (marker field default_%s not found).' % (repr(field.id), key)
values = REQUEST.get(key, [])
# NOTE: a hack to deal with single item selections
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment