diff --git a/gluon/dal.py b/gluon/dal.py index 09fbb747..05aa72df 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -4127,7 +4127,7 @@ class GoogleDatastoreAdapter(NoSQLAdapter): def select(self,query,fields,attributes): (items, tablename, fields) = self.select_raw(query,fields,attributes) # self.db['_lastsql'] = self._select(query,fields,attributes) - rows = [[(t=='id' and item.key().id_or_name()) or \ + rows = [[(t=='id' and item.key().id_or_name()) or \ (t=='nativeRef' and item) or getattr(item, t) \ for t in fields] for item in items] colnames = ['%s.%s' % (tablename, t) for t in fields]