diff --git a/VERSION b/VERSION index 19bc8e22..6938aeab 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.0.9 (2012-09-20 09:24:33) stable +Version 2.0.9 (2012-09-20 09:27:02) stable diff --git a/gluon/dal.py b/gluon/dal.py index e4fe3b1d..857bcf84 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -4323,7 +4323,8 @@ class GoogleDatastoreAdapter(NoSQLAdapter): if first.type != 'id': return [GAEF(first.name,'!=',self.represent(second,first.type),lambda a,b:a!=b)] else: - second = Key.from_path(first._tablename, long(second)) + if not second is None: + second = Key.from_path(first._tablename, long(second)) return [GAEF(first.name,'!=',second,lambda a,b:a!=b)] def LT(self,first,second=None):