From 559e212c550e3fe06b317e3d140de92385c06d23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 13 Jul 2018 17:04:23 +0200 Subject: [PATCH] Removed debug prints + added TODO(fsiddi) --- pillar/api/custom_field_validation.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pillar/api/custom_field_validation.py b/pillar/api/custom_field_validation.py index 5e8396fd..f5f1cc31 100644 --- a/pillar/api/custom_field_validation.py +++ b/pillar/api/custom_field_validation.py @@ -129,10 +129,8 @@ class ValidateCustomFields(Validator): if val: # This ensures the modifications made by v's coercion rules are # visible to this validator's output. - #self.current[field] = v.current - print('*********') - print(valid_properties) - #print(v.current) + # TODO(fsiddi): this no longer works due to Cerberus internal changes. + # self.current[field] = v.current return True log.warning('Error validating properties for node %s: %s', self.document, v.errors)