diff --git a/VERSION b/VERSION index e01800b4..832c8423 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 1.99.7 (2012-05-07 15:26:56) dev +Version 1.99.7 (2012-05-07 17:35:40) dev diff --git a/gluon/dal.py b/gluon/dal.py index e250a848..3dd259d5 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -4674,9 +4674,9 @@ class MongoDBAdapter(NoSQLAdapter): withId=False tablename, mongoqry_dict , mongofields_dict, mongosort_list, limitby_limit, limitby_skip = self._select(query,fields,attributes) for key in mongofields_dict.keys(): - if key == 'id' + if key == 'id': withId = True - break; + break try: print "mongoqry_dict=%s" % mongoqry_dict except: