possibe fix to attributes distinct in mongodbadapter
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 2.00.0 (2012-08-07 09:15:55) dev
|
||||
Version 2.00.0 (2012-08-07 09:33:26) dev
|
||||
|
||||
+2
-1
@@ -4799,7 +4799,8 @@ class MongoDBAdapter(NoSQLAdapter):
|
||||
from pymongo.son import SON
|
||||
|
||||
for key in set(attributes.keys())-set(('limitby','orderby')):
|
||||
raise SyntaxError, 'invalid select attribute: %s' % key
|
||||
if attributes[key]!=None:
|
||||
raise SyntaxError, 'invalid select attribute: %s' % key
|
||||
|
||||
new_fields=[]
|
||||
mongosort_list = []
|
||||
|
||||
Reference in New Issue
Block a user