From 443edc626e8ffd4b9b78b8e14cfca39a235bb437 Mon Sep 17 00:00:00 2001 From: Nicolas Delaby <nicolas@nexedi.com> Date: Tue, 12 May 2009 15:08:20 +0000 Subject: [PATCH] remove LOG git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26937 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/Formulator/Validator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/Formulator/Validator.py b/product/Formulator/Validator.py index 66b2e1f0ec..d89c5bed23 100644 --- a/product/Formulator/Validator.py +++ b/product/Formulator/Validator.py @@ -1,3 +1,4 @@ +# -*- 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 -- 2.30.9