fixed gae dal bug with references, thanks howesc

This commit is contained in:
Massimo Di Pierro
2012-02-26 15:42:25 -06:00
parent 9e497fbf5a
commit b093bb2f74
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 1.99.4 (2012-02-26 15:40:29) stable
Version 1.99.4 (2012-02-26 15:42:22) stable
+1 -1
View File
@@ -3357,7 +3357,7 @@ class GoogleDatastoreAdapter(NoSQLAdapter):
if field.notnull:
attr = dict(required=True)
referenced = field.type[10:].strip()
ftype = self.types[field.type[:9]](table._db[referenced])
ftype = self.types[field.type[:9]](referenced)
elif field.type.startswith('list:reference'):
if field.notnull:
attr = dict(required=True)