From 108e744248ce24d85a96ab83969cd337acf78408 Mon Sep 17 00:00:00 2001 From: "pascale.noyret" Date: Thu, 21 Oct 2021 14:21:22 +0200 Subject: [PATCH] bug sur un mesage dans une exception sur un validator (cf JPA) --- Validation/V_MCSIMP.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Validation/V_MCSIMP.py b/Validation/V_MCSIMP.py index 49df4914..5b303ead 100644 --- a/Validation/V_MCSIMP.py +++ b/Validation/V_MCSIMP.py @@ -159,8 +159,7 @@ class MCSIMP(object): try: self.definition.validators.convert(lval) except ValError as e: - self.cr.fatal( - "invalid keyword %s : %s\nCriteria : %s" % (tr(self.nom)), str(e), self.definition.validators.info()) + self.cr.fatal( "invalid keyword %s : %s\nCriteria : %s" % (tr(self.nom), str(e), self.definition.validators.info())) valid = 0 else: # si pas de cr demande, on sort a la toute premiere erreur -- 2.39.2