From 0f546e70628fa670d032c2dd8496179dddee83c9 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Wed, 12 Sep 2012 11:10:58 -0500 Subject: [PATCH] fixed issue 1000, broken GAE belongs for field id, thanks Alan --- VERSION | 2 +- gluon/dal.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index eebaddd7..ee33b75b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.0.8 (2012-09-12 11:08:28) stable +Version 2.0.8 (2012-09-12 11:10:55) stable diff --git a/gluon/dal.py b/gluon/dal.py index 89cae33f..83fce76e 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -4349,7 +4349,7 @@ class GoogleDatastoreAdapter(NoSQLAdapter): if first.type != 'id': return [GAEF(first.name,'in',self.represent(second,first.type),lambda a,b:a in b)] else: - second = [Key.from_path(first._tablename, i) for i in second] + second = [Key.from_path(first._tablename, int(i)) for i in second] return [GAEF(first.name,'in',second,lambda a,b:a in b)] def CONTAINS(self,first,second):