diff --git a/VERSION b/VERSION index 0a91b25a..5c9802df 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 1.99.3 (2011-12-05 19:57:11) dev +Version 1.99.3 (2011-12-06 08:28:04) dev diff --git a/gluon/dal.py b/gluon/dal.py index d1c87ecb..a063bb94 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -3412,7 +3412,7 @@ class GoogleDatastoreAdapter(NoSQLAdapter): else: raise SyntaxError, "Unable to determine a tablename" - if not query.ignore_common_filters: + if query and not query.ignore_common_filters: query = self.common_filter(query,[tablename]) tableobj = self.db[tablename]._tableobj @@ -4677,7 +4677,7 @@ def index(): def smart_query(self,fields,text): return Set(self, smart_query(fields,text)) - def __call__(self, query=None, ignore_common_filters=False): + def __call__(self, query=None, ignore_common_filters=None): if isinstance(query,Table): query = query._id>0 elif isinstance(query,Field):