possibly fixed issue 1020

This commit is contained in:
mdipierro committed 2012-09-20 09:27:05 -05:00
1 parent b6bba49d47
commit 2fc2275495
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -1 +1 @@
Version 2.0.9 (2012-09-20 09:24:33) stable Version 2.0.9 (2012-09-20 09:27:02) stable
+2 -1
View File
@@ -4323,7 +4323,8 @@ class GoogleDatastoreAdapter(NoSQLAdapter):
if first.type != 'id': if first.type != 'id':
return [GAEF(first.name,'!=',self.represent(second,first.type),lambda a,b:a!=b)] return [GAEF(first.name,'!=',self.represent(second,first.type),lambda a,b:a!=b)]
else: 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)] return [GAEF(first.name,'!=',second,lambda a,b:a!=b)]
def LT(self,first,second=None): def LT(self,first,second=None):