fixed issue 701, thanks Marius van Niekerk

This commit is contained in:
mdipierro
2012-07-08 17:39:37 -05:00
parent 34a7afe2bb
commit 6ffd15adf3
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.00.0 (2012-07-08 17:26:39) dev
Version 2.00.0 (2012-07-08 17:39:33) dev
+2 -2
View File
@@ -1281,7 +1281,7 @@ class BaseAdapter(ConnectionPool):
for key in set(attributes.keys())-set(('orderby', 'groupby', 'limitby',
'required', 'cache', 'left',
'distinct', 'having', 'join',
'for_update')):
'for_update', 'processor')):
raise SyntaxError, 'invalid select attribute: %s' % key
tablenames = self.tables(query)
@@ -4434,7 +4434,7 @@ class CouchDBAdapter(NoSQLAdapter):
raise SyntaxError, "Not Supported"
for key in set(attributes.keys())-set(('orderby','groupby','limitby',
'required','cache','left',
'distinct','having')):
'distinct', 'having', 'processor')):
raise SyntaxError, 'invalid select attribute: %s' % key
new_fields=[]
for item in fields: