possibly fixed issue 1020

This commit is contained in:
mdipierro
2012-09-20 09:27:05 -05:00
parent 52528f9311
commit cffefbeb2e
2 changed files with 3 additions and 2 deletions

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

View File

@@ -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):