From 9d9190584e8426af6ddc97baabadb9a459f41285 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Thu, 22 Aug 2013 02:32:00 -0500 Subject: [PATCH] fixed Encoding problem in 'format' from define_table on GAE, thanks Juan --- VERSION | 2 +- gluon/dal.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 6e6fcbfa..69a64054 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.6.0-development+timestamp.2013.08.22.02.18.31 +Version 2.6.0-development+timestamp.2013.08.22.02.31.01 diff --git a/gluon/dal.py b/gluon/dal.py index 8debc4ee..c98bb8b3 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -6932,7 +6932,7 @@ def sqlhtml_validators(field): refs = reduce(lambda a,b:a&b, [count(ids[i:i+30]) for i in rx]) else: refs = db(id.belongs(ids)).select(id) - return (refs and ', '.join(str(f(r,x.id)) for x in refs) or '') + return (refs and ', '.join(f(r,x.id) for x in refs) or '') field.represent = field.represent or list_ref_repr if hasattr(referenced, '_format') and referenced._format: requires = validators.IS_IN_DB(db,referenced._id,