From 44985f007652fa68ce319e4e83b0b9482a68f6bb Mon Sep 17 00:00:00 2001 From: mdipierro Date: Mon, 22 Jul 2013 14:52:53 -0500 Subject: [PATCH] removed non-translatable json error --- VERSION | 2 +- gluon/validators.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index cd0c10de..f8a2f479 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.6.0-development+timestamp.2013.07.22.09.12.34 +Version 2.6.0-development+timestamp.2013.07.22.14.51.29 diff --git a/gluon/validators.py b/gluon/validators.py index 09fe6dc0..21d94a2f 100644 --- a/gluon/validators.py +++ b/gluon/validators.py @@ -359,7 +359,7 @@ class IS_JSON(Validator): return (value, None) # the serialized value is not passed return (simplejson.loads(value), None) except JSONErrors, e: - return (value, translate(self.error_message) + ': '+ e.message) + return (value, translate(self.error_message)) def formatter(self,value): if value is None: